4 ms·
That's exactly what i said, they regret writing their compiler in C++, and are too lazy to do a proper and optimized C rewrite, hence they go with WASM to then
by Kukumber 4y ago
That's exactly what i said, they regret writing their compiler in C++, and are too lazy to do a proper and optimized C rewrite, hence they go with WASM to then generate C code
Reason why it still is running poorly, because it is the same implementation, just went with optimized code gen steps, making the source non human readable
Seems like i was right when i made this comment few days ago: https://news.ycombinator.com/item?id=33763102 https://news.ycombinator.com/item?id=33763102
- garganzol 4y agoNope. The ultimate goal is to develop Zig in Zig. C and C++ are not the goals, they are means.
- derekp7 4y agoJust so you know, the reason your comment isn't productive (especially with the culture of this site) is that your are creating a projection of the developer's mind and motivations, that most likely isn't true (I doubt they are lazy, and I also doubt there is regrets there too).
- Kukumber 4y agoIt has generated a healthy discussion, that helped me get more insight on the matter, and will help future readers get a detailed insight on the matter too Not everyone is born with knowledge, we learn by igniting discussions
- jacquesm 4y agoThis is true, but you could have done it a bit more tactical, for instance by leaving out statements of judgment.
- wrycoder 4y agoIt did generate an interesting discussion, but your insulting tone caused your remark to be downvoted and flagged. Now the 85 interesting comments responding to you are lost to many HN readers. It would have been better if you had been more moderate.
- kllrnohj 4y ago> they regret writing their compiler in C++, and are too lazy to do a proper and optimized C rewrite lol, very few things migrate from C++ to C. Rather they do the reverse (like how GCC migrated from C to C++).