Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MoscMob
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
MoscMob
4y ago
Unless you care about performance. Exceptions have a performance benefit in that there's no cost if they are not thrown. With returning error values, every caller up the chain has to test the error condition. We've used exactly
2.
▲
by
MoscMob
4y ago
Not a fan of exceptions, but the runtime cost of exceptions vs. the overall runtime cost of GC are not even in the same ballpark.
3.
▲
by
MoscMob
4y ago
Yes, misleading.
4.
▲
by
MoscMob
4y ago
Oh, another thing. There is nothing about Val that places it as a successor of C++ in any way. A C++ successor language starts by supporting interoperability with C++, at the source level. It didn't even attempt to do this. This jus
5.
▲
by
MoscMob
4y ago
It was obviously a click-bait as half-way through the article it was clearly written to promote Val, a language practically no one has heard of as compared to Carbon and CPP2. The click-bait worked. Val looks like a real contender, but no
6.
▲
by
MoscMob
4y ago
It's not that we need a VM in the browser, but we just need a VM that's sandboxed in terms of security. Other than JavaScript, what other way can you send arbitrary code to a device and expect it to run there? WASM is the only o
7.
▲
by
MoscMob
4y ago
I'm waiting for someone to comment that because some programmer was lazy enough to use Go instead of C or C++, Tailscale module takes 16 MB, when the entire CheerpX VM was 6 MB. Just the stack is almost twice as big as the entire VM.
8.
▲
by
MoscMob
4y ago
The problem with these alternative programming environments is that the developers push off everything other than compiling code. Then the community is left to struggle for years with: 1. How to debug in the language that they write in. 2.