Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jedisct1
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
391.
▲
by
jedisct1
3y ago
Forget cmake in 2023. Using Zig is way easier, faster and more flexible. I'm not talking about Zig as a language, but as a toolchain to compile C/C++ code.
392.
▲
by
jedisct1
3y ago
That doesn't provide any information about jitter, latency, packet loss, DNS, location, etc.
393.
▲
by
jedisct1
3y ago
What are speed tests that work from the command line?
394.
▲
by
jedisct1
3y ago
Very well written post. ThePrimeGen made a video on it.
395.
▲
by
jedisct1
3y ago
And as a modern programming language, it also supports comptime. All it takes is copy, paste, modify, separately run the comptime code for every variant, and directly paste the output into the main source code. The end result is very clear
396.
▲
by
jedisct1
3y ago
Runtimes didn't wait for WASIX to start adding missing system calls to WASI. But WASIX brings a central place to document all this. And I don't think WASIX is fundamentally incompatible with the future WASI. The different ABIs doe
397.
▲
by
jedisct1
3y ago
And there are runtimes and services implementing their own APIs, and there's emscripten which is how most people actually use WebAssembly today. But if you're not porting existing software and only care about the web, these APIs a
398.
▲
by
jedisct1
3y ago
There's also Zigler, that makes writing NIFs in Zig a breeze: https://github.com/E-xyza/zigler
399.
▲
by
jedisct1
3y ago
It's more like regular shared libraries. You can replace a library with a different one that loads the original library, defines the same symbols, and forwards the function calls. That's how debugging/protocol inspection tool
400.
▲
by
jedisct1
3y ago
scp bob@host1:/tmp/x john@host2:/tmp/ Also SSH can be configured to use different keys for each server.
401.
▲
by
jedisct1
3y ago
So many memories! Also nice to see that it's running pure-ftpd.
402.
▲
by
jedisct1
3y ago
SSH can actually do that.
403.
▲
by
jedisct1
3y ago
You're referring to yet another part of WASI, which is indeed about defining domain-specific sets of APIs. No specific set is required to be implemented. So an application can work somewhere, and not load elsewhere. But the idea is tha
404.
▲
by
jedisct1
3y ago
https://wasix.org/docs may be what you are looking for. The WASI section documents WASI as it is implemented today. But since then, WASI pivoted and has become an umbrella for multiple projects. This is not just an API any
405.
▲
by
jedisct1
3y ago
-Wl,--import-symbols -Wl,--export-all-symbols -Wl,--entry= (or rather -mexec-model=reactor).
406.
▲
by
jedisct1
3y ago
WebAssembly doesn't make unsafe languages safe: https://00f.net/2018/11/25/webassembly-doesnt-make-unsafe-la...
407.
▲
by
jedisct1
3y ago
A common option for that purpose is Zig. WASI is just one of the many targets it can compile C code to, out of the box: `zig cc -target wasm32-wasi`. No need to install yet another LLVM copy. Zig produces more optimized code, because it opt
408.
▲
by
jedisct1
3y ago
For WebAssembly, Zig really excels. It's very memory efficient, everything compiles of the box to WebAssembly (freestanding or wasi), the resulting code is compact and fast, and it can take advantage of the latest WebAssembly extension
409.
▲
by
jedisct1
3y ago
Yes, I have a Numworks calculator, that I still frequently use. While programming but also when sketching algorithms, or when working on 3D models. When I don't have it around, or when I need to work on large numbers, I use the Ruby or
410.
▲
Proficient Parallel Programming [video]
(youtube.com)
3 points
by
jedisct1
3y ago
|
0 comments
411.
▲
Medusa: Zig codebase graph generator that emits a Mermaid class diagram
(github.com)
3 points
by
jedisct1
3y ago
|
0 comments
412.
▲
by
jedisct1
3y ago
It looks like this is just llama2.c blindly translated to Zig using "zig translate-c" ?
413.
▲
by
jedisct1
3y ago
The Zig subreddit migrated to a dedicated discussion board https://ziggit.dev
414.
▲
by
jedisct1
3y ago
This is insanely cool!
415.
▲
by
jedisct1
3y ago
Thank you, rioters.
416.
▲
by
jedisct1
3y ago
AEGIS is being standardized, and solves many of the AES-GCM issues while being significantly faster. https://datatracker.ietf.org/doc/draft-irtf-cfrg-aegis-aead/ https://github.com/jedisct1/ae
417.
▲
by
jedisct1
3y ago
We're not talking about protesters. The riots were sparked by a completely different event, but "C'était pour s'amuser" https://www.bfmtv.com/police-justice/emeutes-sursis-et-brace... Comments
418.
▲
by
jedisct1
3y ago
During the yellow vest protests, I was lurking in groups where rioters planned their actions. A lot was also organized in plain sight in the comments of websites like demosphere. And I guarantee that they didn't care at all about what
419.
▲
by
jedisct1
3y ago
That was just a signal to start the fun, it could have been anything else. This has nothing to do with the kid being shot or with asking for less police brutality. This is rather for thugs to show that they can do whatever they want and don
420.
▲
by
jedisct1
3y ago
The real reason is that kids wanted to have some fun, post cool videos on Telegram/Snapchat, and see their city's name added to the map. Just like during protests. Rioters don't care about what the protest is for, they do it
More ›