4,017 karma · joined Mar 10, 2017 (9y ago) · 930 submissions
comment 1y ago · link · parent
Then don't worry [...] high performance programming" is ill defined. For the term to have any real meaning one has to be more specific about what one tries to achieve.
My main "high performance" experience is of writing WebVR applications. VR can't tolerate framerate drops because it makes users physically sick.I don't know what the GC story is like for Go in WASM but it would make me very wary.
comment 1y ago · link · parent
If I want to do high performance programming I don't want to worry about garbage collection.
If I can withstand GC then I know enough about JavaScript to keep V8's optimiser happy. Which will always be the best DX for writing code in the browser. (edit: though this post is specifically about WASI)
Go has never focused on binary size and probably never will unless it actually becomes an issue for Google. That's the disadvantage of having a corporate BDFL I guess.
comment 1y ago · link · parent
I don't think "type theater" is the right term, and it may be unhelpful to say developers are using types superstitiously.
I think it's more that developers only feel responsible for correctness within the bounds of their software component. If the client sends bad data (despite passing authn), or if the database migration fakes an ORM return type, they don't see that as a problem in "their" domain.
I don't agree with them, in fact I think developers have a tendency to highly motivated "salami slicing " of component responsibilities and contracts ("it's not my problem, it's Bob's class that sucks!") but I think it's more nuanced than cargo cutting.
I do like the idea of the Postgres type builders. That's a new one for me. I'm still a little unsure how they operate end to end.
comment 1y ago · link · parent
Is it something like a Pico8 but emulated in the browser, i.e. with an instruction set, something resembling a bare graphics API, etc etc?
Or is it more like a high level framework for HTML5 games?
A link to source code would be helpful, maybe some docs on writing your own games for this "console"
comment 1y ago · link · parent
For example our consumer laws emerged out of anxiety about poisonous food. Our libel laws emerged out of moral panics about misuse of the press. Etc. But were still good measures.
There's also the asymmetric risk element. The social risks of the technology are larger than the material risks of putting it off. Being wary of that isn't Luddism, it's just math
comment 1y ago · link · parent
It worked by composing logic with S-expression like syntax, e.g.
fetcher = compose(
setUrl(x),
acceptJSON(),
compose(a, b, ...c)
)
And then to allow these composed functions to hook in simple request / response middlewareIt seems hard to get traction on a new project though. And these days I tend to use OpenAPI -> client generation. It's hard for me to work on a project I probably wouldn't use myself.
That said, competition is a good thing and I'm glad people are still building these.
comment 1y ago · link · parent
The actual link is obscure, but I don't think it matters too much - I'm observing a similarity, not attesting an origin.
comment 1y ago · link · parent
It has an interesting root, it comes from the Proto Indo-European word for "four", because he must watch any enclosure of four walls. This ancient word is the source of the Latin "quartus" which comes into English as "quarter"
The PIE sense is echoed a little in phrases like "living quarters", "give no quarters" etc