Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
broken_broken_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
broken_broken_
1y ago
I can tell you some financial services I have worked for do use FreeBSD on EC2 as well as on the metal in data centers to do millions of transactions a month. I like the OS, thanks for your work.
32.
▲
by
broken_broken_
1y ago
Good article, I also have a C program (a compiler) that I would like to compile to webassembly to offer a playground web page, so that is good information. Thank you! About the file system stuff: modern browsers ship with SQLite which is av
33.
▲
by
broken_broken_
1y ago
That reminds me of a blog article I wrote some time ago, where “timeout” gets mentioned: https://gaultier.github.io/blog/way_too_many_ways_to_wait_fo... It’s more useful if you are implementing this in a general progr
34.
▲
by
broken_broken_
1y ago
Dtrace can do the same and much more I believe with destructive actions, and it is supported on Windows.
35.
▲
by
broken_broken_
1y ago
I initially did not see the use case for sending hundreds of MiB to the browser, but near the end, data visualization is mentioned which is fair. I could also see video games and observability platforms needing to do this, for example Datad
36.
▲
by
broken_broken_
1y ago
Glibc’s one does and it caused a security vulnerability: https://www.qualys.com/2024/01/30/qsort.txt TBH it was also news to me, I discovered it randomly while browsing vulnerabilities… Printf also allocates,
37.
▲
by
broken_broken_
1y ago
I have done something similar for Linux under 2 KiB in assembly some time ago: https://gaultier.github.io/blog/x11_x64.html As others have said, doing so in pure C and linking dynamically, you can easily remain under 2
38.
▲
by
broken_broken_
1y ago
Fantastic article! But when I read “inspired by the Gameboy form factor”, I thought the cartridge would insert much deeper, like a Gameboy (maybe not all the way so that the picture on the cartridge is still visible) . That way it cannot be
39.
▲
Build PIE executables in Go: I got nerd-sniped
(gaultier.github.io)
2 points
by
broken_broken_
2y ago
|
0 comments
40.
▲
by
broken_broken_
2y ago
I love reading optimization stories so thank you! So essentially the code got faster by switching to smarter regexp engine that can transform (hopefully) the regexp into a FSM. Cool, but what about replacing the regexp with straightforward
41.
▲
Making my static blog generator 11 times faster
(gaultier.github.io)
3 points
by
broken_broken_
2y ago
|
1 comments
42.
▲
by
broken_broken_
2y ago
Thank you, I will definitely have a look, and update the article if there’s any interesting finding
43.
▲
by
broken_broken_
2y ago
Yes, that's the obvious (and boring!) answer, that I mention in the introduction and that's in a way the implicit conclusion. But that does not teach us SIMD then :)
44.
▲
Making my debug build run 100x faster so that it is finally usable
(gaultier.github.io)
87 points
by
broken_broken_
2y ago
|
20 comments
45.
▲
Addressing CGO pains, one at a time
(gaultier.github.io)
2 points
by
broken_broken_
2y ago
|
0 comments
46.
▲
Tip of the day #4: Type annotations on Rust match patterns
(gaultier.github.io)
1 points
by
broken_broken_
2y ago
|
0 comments
47.
▲
by
broken_broken_
2y ago
At work the Go backend was also using gob encoding in one case to store some values in the database. After some profiling, I noticed it was the top allocation part of the whole app. It was also showing on the CPU performance profiles. Fina
48.
▲
The missing cross-platform OS API for timers
(gaultier.github.io)
49 points
by
broken_broken_
2y ago
|
33 comments
49.
▲
The missing cross-platform OS API for timers
(gaultier.github.io)
2 points
by
broken_broken_
2y ago
|
0 comments
50.
▲
by
broken_broken_
2y ago
I wrote a Lox compiler and interpreter in OCaml a few years ago: https://github.com/gaultier/lox-ocaml No idea how it holds up, it was my first try at a compiler, but it’s quite small. I was following the Crafting Inte
51.
▲
by
broken_broken_
2y ago
Hey, that’s funny, I wrote a blog post about the many ways you can implement such a program, and it was discussed on HN: https://news.ycombinator.com/item?id=42103200
52.
▲
by
broken_broken_
2y ago
Thanks for the suggestion, I have added a short section about threads.
53.
▲
by
broken_broken_
2y ago
Many thanks! I have added it to the article in due form now.
54.
▲
Way too many ways to wait on a child process with a timeout
(gaultier.github.io)
129 points
by
broken_broken_
2y ago
|
32 comments
55.
▲
Perhaps Rust Needs "Defer"
(gaultier.github.io)
74 points
by
broken_broken_
2y ago
|
67 comments
56.
▲
Lessons learned from a successful Rust rewrite
(gaultier.github.io)
146 points
by
broken_broken_
2y ago
|
42 comments
57.
▲
Tip of the day #2: A safer arena allocator
(gaultier.github.io)
23 points
by
broken_broken_
2y ago
|
2 comments
58.
▲
A small trick for simple Rust/C++ interop
(gaultier.github.io)
2 points
by
broken_broken_
2y ago
|
0 comments
59.
▲
Odin and Musl: Cross-Compiling Odin Programs for the Raspberry Pi Zero
(gaultier.github.io)
4 points
by
broken_broken_
2y ago
|
0 comments
60.
▲
How to rewrite a C++ codebase successfully
(gaultier.github.io)
6 points
by
broken_broken_
2y ago
|
0 comments
More ›