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…
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.
Yes, misleading.
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…
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…
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…
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 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…
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…
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.
Yes, misleading.
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…
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…
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…
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 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…