Better HN
topnewbestaskshowjobs
Log inSign up

floatboth

5,763 karma · joined Oct 27, 2011 (15y ago) · 2,893 submissions

this website sucks
Submissions

comment 4y ago · link · parent

RADV actually started as a student project IIRC; Valve got involved later, mostly with adding the ACO compiler as an alternative to using LLVM.

comment 4y ago · link · parent

Don't discount the other engineering teams. AMD is currently not too far behind (even ahead in a couple benchmarks) despite being on TSMC's previous node. It's all gonna be pretty close.

comment 4y ago · link · parent

None of this stuff is necessary on wayland. All wayland compositors so far use libinput, so multi-touch support is great out of the box.

comment 4y ago · link · parent

SVE hardware has been made of unobtainium so far. Graviton3 will change that pretty soon though.

comment 4y ago · link · parent

Hm, should the same be done for aarch64? Generally compilers (well, clang) seem to use CSEL all the time anyway, would be interesting to investigate this.

comment 4y ago · link · parent

So far they're all-in on Qualcomm, right now really held back by their unimpressive performance (mildly customized/rebadged Cortex cores with tiny caches for some reason) but let's see what happens after Nuvia cores happen.

comment 4y ago · link · parent

The only "big advantage" I can think of is that libraries like simdjson usually are still written for AVX first, NEON later. Otherwise it's not so clear cut, especially if not using any libraries like that.

comment 4y ago · link · parent

Hyperthreading isn't just about decoders, it's about occupying all the units as much as possible. Some Arm (RIP ThunderX2), POWER and SPARC server chips have 4-wide and even 8-wide SMT.

comment 4y ago · link · parent

Data rates for display have increased very much too. Don't underestimate the, uhh, "how rectangles work" factor – doubling the resolution means doubling both width and height, so quadrupling the pixel count.

80s computers also used lots of special hardware for graphics output, they didn't software render everything ;)

comment 4y ago · link · parent

Ooh. So now I can launch an ec2 instance without ipv4 and just use this to reach github from it? Awesome. Hopefully abuse won't ruin it instantly lol :/

comment 4y ago · link · parent

> rerender only the parts of the screen which changed

e.g. Firefox is already good at doing that on the GPU. WezTerm isn't yet, but We're Working On It™ (i.e. someday it will be done), follow https://github.com/wez/wezterm/issues/1134

comment 4y ago · link · parent

30 year old hardware didn't have to render fancy antialiased fonts at 3840x2160 @ 144Hz.

comment 4y ago · link · parent

"Features" is a way too abstract thing to blame, tbh.

The elephant in the room here is the excessive dynamism allowed by default on the JVM platform. How many applications actually need fancy classloaders? Why isn't every step to get there - "loading a class from anywhere that isn't my JARs", JNDI, JNDI's LDAP backend, etc. - an explicit opt-in flag to the VM? Java's wide-open defaults are what made the blast radius of this huge.

comment 4y ago · link · parent

Also D in 'betterC' mode

comment 4y ago · link · parent

Heh, there were plans to add ownership&borrowing to D: https://dlang.org/blog/2019/07/15/ownership-and-borrowing-in... but of course bolting something on as an option is not the same as having the whole language designed strictly around it.

comment 4y ago · link · parent

LLVM is always inherently a "cross-compiler". In fact having to have "5 or so compilers" is just GCC being stupid.

comment 4y ago · link · parent

Namecoin was released in 2011 — way before the NFT craze.

This is indeed the most attractive reason for a globally distributed database of "valuable things", but proof-of-whatever powered "trustless" systems (cryptocurrencies) are still terrible. There was a really good experimental system with articulated trust: https://github.com/andres-erbsen/dename

comment 4y ago · link · parent

2011: Dammit Valve, who exactly asked for these tradeable hats? Keep games free of this crap!

2021: Praise Valve, the only big name keeping in-game-crap economies free of "blockchain" garbage and generally being the least awful one.

How low can the games industry sink?

comment 4y ago · link · parent

Marvell has their DDR3+4 initialization straight on GitHub: https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell (even this includes a Synopsys blob for the PHY, but only on some platforms — no blobs on A70x0/A80x0 thankfully)

It's really stupid that other vendors can't just do the same.

comment 4y ago · link · parent

ME/PSP isn't that offensive in terms of "locking you out", it's just a coprocessor that's there. Intel Boot Guard on the other hand can actually prevent custom firmware from running.

comment 4y ago · link · parent

I'm not part of gecko@ but I wrote the devel/wasi-* ports and I've contributed to Firefox itself on a few occasions (touchpad scrolling on GTK and partial invalidation for EGL) :)

comment 4y ago · link · parent

500px at some point started to use the right-click-blocker even on Creative Commons licensed images (!) — I quit the site over this. IIRC they eventually dropped the option to select a CC license entirely :/

comment 4y ago · link · parent

With software, the one true incentive is that someone else will maintain your code and you won't have to spend valuable time constantly rebasing your downstream patches. This is why e.g. Netflix contributes heavily to FreeBSD's network stack.

This is the real reason to upstream, regardless of license. When that incentive doesn't apply and companies only release for compliance, we get Android-vendor-style source dumps and "BSPs" that are not very useful — not upstreamable and often barely even work as documentation.

It's a bit harder with silicon since a chip is "done" once you've sent it to manufacturing, but still somewhat applies when you maintain an evolving line of chips.

comment 4y ago · link · parent

This isn't for running WASM from the web. This has nothing whatsoever to do with the WASM JIT that's in Spidermonkey. This is sandboxing for internal components of the browser (or any application really). But, this is a kind of AOT compilation involving WASM in the middle.

comment 4y ago · link · parent

42% slower only in the worst case using the slowest (explicit) bounds checks, only 12% slower with a signal handler:

https://kripken.github.io/blog/wasm/2020/07/27/wasmboxc.html

comment 4y ago · link · parent

There's also the https://github.com/WebAssembly/wasi-sdk repo which is kind of a meta-build-system for all this.

But in FreeBSD we build all the pieces directly, here's our build recipes (with some hacks due to llvm's cmake code being stupid sometimes):

compiler-rt (from llvm): https://github.com/freebsd/freebsd-ports/blob/main/devel/was...

libc (from what you linked): https://github.com/freebsd/freebsd-ports/blob/main/devel/was...

libc++ (from llvm): https://github.com/freebsd/freebsd-ports/blob/main/devel/was...

comment 4y ago · link · parent

> Amazon just went up to $18

Except isn't there a gigantic loophole related to, uhhh, lots of "Amazon" workers actually being employed by subcontractors rather than by Amazon.com Inc., to whom this minimum does not apply?

comment 4y ago · link · parent

And LibreOffice

comment 4y ago · link · parent

Not to the customer. I don't pay 3% more for anything if I choose a card vs. cash, in fact the card gives me a 1% cash back reward.

Meanwhile buttcoins have ridiculous spikes in miner fees. New bullshit "distributed app" like the next cryptokitties is clogging Ethereum again? Now moving $10 costs $40! Money of the future!

Current stablecoins are fraudulent wildcat banks. Research Tether.

1
789
97