5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions
comment 6y ago · link · parent
What I'm noticing is there's too much focus on fancy lights, over-the-top postprocessing effects with annoying crap like ambient occlusion, screen space reflections that hog a lot of performance for just reflecting your character in water puddles placed everywhere just to show the effect off, and so on.
And not enough focus on good old textures and polygons. Approaching spherical objects closely still makes the polygons very very obvious. Staring directly at walls still shows how low res textures are.
> You could destroy everything, dig holes, build things
You might be looking for Minecraft! :D
comment 6y ago · link · parent
To be fair, you also have to trust native apps and browser extensions the same way. But with websites, the risk of a sudden and targeted (not noticed by the general public) update is much greater!
comment 6y ago · link · parent
comment 6y ago · link · parent
Bifrost is quite early as you can see from the article this thread is for.
> Surely there are loads of GPUs without open source drivers
Mali is very popular (so many SoCs from Rockchip, Amlogic, Allwinner, etc.) and actually was sort of the last holdout among them.
Etnaviv, VC4, Freedreno all predate Panfrost and (the resurrected and upstreamed version of) Lima.
Now I guess the last holdout would be PowerVR but it's not like there's so many devices with their GPUs. Nokia N900 and early iPhones I think?
comment 6y ago · link · parent
As much as I don't like the Awful Bezos Monopoly and their bandwidth pricing and stuff, the Graviton has been excellent and now the super-fast Graviton2 is coming. While Scaleway couldn't unbreak something as basic as booting a local EFI file instead of iPXE for months [1] AWS employees have been sending patches to upstream OSes [2] so it's pretty obvious which provider is serious about ARM. Hopefully there will be more than one. HuaweiCloud should put the Kunpeng instances in the international regions. Maybe Microsoft Azure will eventually do it too? (They've been using ARM internally..)
[1] https://community.scaleway.com/t/freebsd-on-arm64/6678/5
comment 6y ago · link · parent
Intel and AMD refer to their systems as SoC since they integrated the north bridge (which includes the memory controller) into the chip, has nothing to do with Apple.
> CPU’s main I/O ports
That's a weird definition. Most architectures don't have "I/O ports" and use memory-mapped I/O exclusively. And even if we read that as "any kind of I/O pins" and go back to the
> can’t interface RAM or ROM or other peripherals natively
part: the vast majority of mobile SoCs in the 2010s use external RAM (and storage). The memory controller is onboard and the external connection is directly to DDR3/4/.. chips.
comment 6y ago · link · parent
https://www.pouet.net/prod.php?which=81021 https://www.pouet.net/prod.php?which=81015 https://www.pouet.net/prod.php?which=80996
comment 6y ago · link · parent
As for WinNT and other non-ELF platforms systems, that's retro hobbyist territory, not very likely to end up in upstream LLVM. But you could always convert object files into the right format externally! e.g. for years building TianoCore EDK2 on non-Windows has involved conversions from ELF to PE (now there's also a CLANGPDB setting that produces PEs directly from LLVM)
comment 6y ago · link · parent
comment 6y ago · link · parent
Directly touching syscalls instead of using libc sucks because a) it kills LD_PRELOAD hooks and b) it makes porting to new architectures extremely time-consuming. (e.g. I'm porting lots of stuff to FreeBSD/aarch64 — most languages were rather trivial to port, Go took months and several people)
comment 6y ago · link · parent
What is it protecting against — data recovery from discarded old disks? Very stupid criminals breaking into the datacenter, powering servers off and stealing disks?
A breach in some web app would give the attacker access to a live system that has the encrypted disks already mounted…
comment 6y ago · link · parent
(e.g. I have Firefox running under Capsicum: https://bugzilla.mozilla.org/show_bug.cgi?id=1607980)
comment 6y ago · link · parent
Oh man, I've seen that check somewhere..
namely, I've had to port the init-array-or-ctors decision code from clang to LDC, because LDC was just using LLVM defaults, and LLVM defaulted to ctors on FreeBSD/AArch64, which doesn't support ctors, but that was only noticeable with the LLD linker, because bfd and gold were quietly (!) converting ctors to init_array (!!) as a performance optimization (!!!)
ref: https://github.com/ldc-developers/druntime/pull/146#issuecom...
comment 6y ago · link · parent
ncurses from FreeBSD Ports is built with terminfo, but the ncurses from base uses termcap. Kind of a mess :)
Most application ports have USES=ncurses without arguments, which means they will prefer the ports ncurses — if it's installed at build time. Official binary packages are built without it installed of course. So rebuilding the ncurses apps you care about would make them use terminfo.
Also you can convert terminfo to termcap: https://invisible-island.net/ncurses/man/infotocap.1m.html