Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Retro_Dev
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
LLMs Are Transpilers
(alloc.dev)
2 points
by
Retro_Dev
1y ago
|
2 comments
62.
▲
Zig got a new ELF linker and it's fast
(github.com)
123 points
by
Retro_Dev
1y ago
|
50 comments
63.
▲
C3 Programming Language 0.7.4 Release
(github.com)
3 points
by
Retro_Dev
1y ago
|
0 comments
64.
▲
Birth of new Zig backend - aarch64
(github.com)
7 points
by
Retro_Dev
1y ago
|
0 comments
65.
▲
Bing Translate vulnerable to prompt injection
(alloc.dev)
3 points
by
Retro_Dev
1y ago
|
0 comments
66.
▲
Zig breaking change – Initial Writergate
(github.com)
238 points
by
Retro_Dev
1y ago
|
227 comments
67.
▲
Writing a C Compiler, in Zig
(asibahi.github.io)
4 points
by
Retro_Dev
1y ago
|
0 comments
68.
▲
by
Retro_Dev
1y ago
It is my opinion that even if Zig were nothing more than a syntactical tweak of C, it would be preferable over C. C has a lot of legacy cruft that can't go away, and decades of software built with poor practices and habits. The statu
69.
▲
by
Retro_Dev
1y ago
Totally agree with that - although even right now zig is excellent for gamedev, considering it's performant, uses LLVM (in release modes), can compile REALLY FAST (in debug mode), it has near-seamless C integration, and the language it
70.
▲
by
Retro_Dev
1y ago
As far as I know, Zig has a bunch of things in the works for a better development experience. Almost every day there's something being worked on - like https://github.com/ziglang/zig/pull/24124 just now.
71.
▲
by
Retro_Dev
1y ago
Yep, you are correct! The first example was a bit too simplistic. A better one would be https://github.com/RetroDev256/comptime_suffix_automaton Do note that your linked godbolt code actually demonstrates one of the tw
72.
▲
by
Retro_Dev
1y ago
You can change the `target` in those two linked godbolt examples for Rust and Zig to an older CPU. I'm sorry I didn't think about the limitations of the JS target for that example. As for your link, It's a good example of wha
73.
▲
by
Retro_Dev
1y ago
Good question! The TL;DR as I understand it is that it won't matter too much. For example, the self-hosted x86_64 backend (which is coincidentally becoming default for debugging on linux right now - https://github.com/z
74.
▲
by
Retro_Dev
1y ago
Ahh perhaps I need to clarify: I don't love the noise of Zig, but I love the ability to clearly express my intent and the detail of my code in Zig. As for arithmetic, I agree that it is a bit too verbose at the moment. Hopefully some
75.
▲
Low-Level Optimization with Zig
(alloc.dev)
307 points
by
Retro_Dev
1y ago
|
200 comments
76.
▲
by
Retro_Dev
1y ago
To me it didn't really feel like C++; it is much less complicated. Could you explain more what you mean by this?