Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gwenzek
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
gwenzek
2mo ago
That's not what the article says though. The size reduction was from extra linker flag for deduping code, and the speed gains from LTO. They could have done the same in Zig, even though it probably shows cargo is better at this than bu
2.
▲
by
gwenzek
5mo ago
https://ziglang.org/download/0.16.0/release-notes.html#Loop-... Seems like a big one! I wonder how it will impact real code performance
3.
▲
by
gwenzek
1y ago
I really don't like this move. I always rooted for Android because of its openness. It was also a reason why I was proud to work at Google. The PlayStore is full of crapware, and I'm using a lot of apps from Fdroid, including basi
4.
▲
by
gwenzek
1y ago
Andrew actually agrees with the general sentiment. And this will be made into a compile error. What's happening is that compiler knows the two errors come from disjoint error set, but it promotes them both to anyerror Details at https
5.
▲
by
gwenzek
1y ago
Interesting to see the new C++ at work. But also I'm sure it's easier to learn Zig full language that just the new C++ metaprogramming
6.
▲
by
gwenzek
2y ago
Really liking the promotion of "Unmanaged" containers. It's the ones I'm using everywhere already
7.
▲
by
gwenzek
2y ago
Nice write up ! I think it would be nice for Zig to try to catch some of those errors like return of stack pointers, Cause it's painful for beginners
8.
▲
by
gwenzek
2y ago
If you think this paper is pro-C++, read it again: > many languages like C++ or Java are now old enough that if they would have > offered significant advantage over C, they should have supplanted C by now, > this clearly hasn’t hap
9.
▲
by
gwenzek
2y ago
ZML the zig library is mostly a wrapper of StableHLO/pjrt. But it's a high quality wrapper, and the tagged tensor syntax is really helpful to write complex ops like dot, or gather. And ZML the framework also resolve issues with th
10.
▲
by
gwenzek
2y ago
Zig has been relatively stable for the past few years for the main Zig code. What has changed the most is the `build.zig` build system (which we aren't using). We are also looking ahead at Zig roadmap, and trying to anticipate upcoming
11.
▲
by
gwenzek
2y ago
It' s a bit early to compare directly to TensorRT because we don't have a full-blown equivalent. Note that our focus is being platform agnostic, easy to deploy/integrate, good performance all-around, and ease of tweaking. We
12.
▲
by
gwenzek
2y ago
Hi co-author here. Zig is way simpler than C++. Simple like in an afternoon I was able to onboard in the language and rewrote the core meat of a C++ algorithm and see speed gains (fastBPE for reference). Coming from Python, the hardest part
13.
▲
by
gwenzek
2y ago
Very nice read. I agree with the author that Zig should improve a bit the readability of integer and vector arithmetics. Small tips is to use more lines. fn addOffset(base: u16, off: u8) u16 { const ibase: i16 = @bitcast(base);
14.
▲
by
gwenzek
3y ago
Why do we tax income though? Especially for billionaire in a globalized world, it's easy to hide incomes. Wealth is harder to hide.
15.
▲
by
gwenzek
3y ago
Graphic 5.2 in http://piketty.pse.ens.fr/files/Piketty2019GraphiquesTableau... In France it was down to less than 1% at the time of Revolution, but some countries like Spain that had centuries long wars, was closer to
16.
▲
by
gwenzek
3y ago
I wrote a similar article but focused on how Zig design enable better optimizations than C. https://zig.news/gwenzek/zig-great-design-for-great-optimiza...
17.
▲
Zig: Great Design for Great Optimizations
(zig.news)
11 points
by
gwenzek
3y ago
|
3 comments
18.
▲
by
gwenzek
3y ago
Hard question. Probably because we were in a sweet spot without realizing it. And that lands are also pretty damaged. Swamp are a key part of regulating water flow, but humanity have been destroying those for hundreds of years. Also grounds
19.
▲
by
gwenzek
3y ago
I know farmers that are using city compost to replace chemical fertilizers for their vegetables. There is probably an over supply of compost in some places, but it feels this will probably reverse over time as farmers adapt their techniques
20.
▲
by
gwenzek
3y ago
It's indeed a very different world. This model was trained on thousands of GPUs. The weird file format corresponds to the train time sharding of the weights. And really nobody is doing CPU inference with all the GPU we have. And also t
21.
▲
On the value of going deep, or How a broken keyboard led me to fix bugs in Zig
(zig.news)
2 points
by
gwenzek
4y ago
|
0 comments
22.
▲
by
gwenzek
4y ago
I feel Zig could help here. The binaries ship with LLVM statically linked. You could rely on them to provide binaries for a variety of architecture / OS, and use it to compile code on the target machine. I'll probably explore this
23.
▲
by
gwenzek
4y ago
On the github.io landing page there is a link to https://wiki.freepascal.org/CudaText#Advantages_over_Sublime...
24.
▲
by
gwenzek
4y ago
How does it compare to Sublime Text? This seems to be a FAQ but the link appears to be broken, and I didn't find a corresponding entry in the Wiki.
25.
▲
by
gwenzek
5y ago
The thing I'm not understanding is why WASM runtime is that fundamentally different from an OS? Isn't the OS already supposed to securely isolate the different programs? Shouldn't we try to fix that instead?
26.
▲
by
gwenzek
5y ago
A number of company, including Google and probably Microsoft forbid copying code from Stack Overflow because there is no explicit license
27.
▲
by
gwenzek
5y ago
Personally I'm a very keen on Markdeep: https://casual-effects.com/markdeep/
28.
▲
by
gwenzek
5y ago
Honestly don't wait on all the web Dev to fix their app. Buy yourself a programmable keyboard that tells the computer they are a "normal US layout keyboard". Now when you press "shift+7" on your keyboard it only sen
29.
▲
by
gwenzek
5y ago
Can you tell us more about your setup? Sounds quite cool
30.
▲
by
gwenzek
5y ago
OTOH if you're able to write `if bug_will_happen_on_next_line(): breakpoint()` you're pretty much done debugging.
More ›