Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mistivia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mistivia
2mo ago
I don't think installing this kind of system at home is a good idea, especially considering the risk of fire. The amount of energy contained in a 5 kWh lithium battery is terrifing.
2.
▲
by
mistivia
2mo ago
I think that in 2026, it's not a good idea to still be using human brainpower to parse gibberish that was hastily decided in the 1960s/1970s for the convenience of writing parsers. Just use tools like cdecl: https://man
3.
▲
by
mistivia
7mo ago
> we are performing an rather imprecise and expensive acos() call No, the acos() call is not expensive at all. There is hardware acceleration.We can calculate acos() with in 12 CPU instructions. https://git.musl-libc.org/
4.
▲
by
mistivia
7mo ago
> The deepest truths fit on a napkin. If you have really done physics or engineering, you would never believe this. Simple and elegant formulas usually can only solve the "spherical chicken in a perfect vacuum" kind of problems
5.
▲
by
mistivia
7mo ago
I've add exmaples of a toy EDSL and compile-time reflex in C++17 in GitHub readme, which wouldn't work with constexpr only.
6.
▲
by
mistivia
7mo ago
Template metaprogramming isn't really suited for this task, the prime sieve here serves only as a proof of concept, meant to show the capabilities of this style. But there are cases where `constexpr` is not applicable, especially when
7.
▲
Lisp-style C++ template meta programming
(github.com)
70 points
by
mistivia
7mo ago
|
14 comments
8.
▲
Show HN: Mvvmm – Firecracker-like mini virtual machine monitor in ~2000 LoC
(github.com)
2 points
by
mistivia
8mo ago
|
0 comments
9.
▲
Write a Virtual Machine Monitor and Boot Linux
(blog.mistivia.com)
1 points
by
mistivia
8mo ago
|
0 comments
10.
▲
by
mistivia
8mo ago
We have seen similar situations countless times before. Just as the Internet allowed people to bypass publishers to release text, and YouTube allowed creators to bypass TV stations and cinemas to release video, AI now allows people to bypas
11.
▲
by
mistivia
9mo ago
I don't want a Rust language without a borrow checker. I want a C language with a Borrow Checker. Rust's complexity is already approaching C++, and removing the Borrow Checker would turn it into a similar disaster. Austral looks l
12.
▲
Show HN: A small embeddable and hackable Lisp-2 interpreter in C
(github.com)
2 points
by
mistivia
9mo ago
|
0 comments
13.
▲
by
mistivia
11mo ago
I used similar method to craft my own type-safe algorithm and data structure library in C: https://github.com/mistivia/algds Although it's a toy not for production, it's very interesting that the idea of trai
14.
▲
by
mistivia
1y ago
It's very dangerous to write a http parser from scratch in C. This can be very vulnerable without rigorous testing. To get a useful web framework for production in C, I think it's a better idea to start from libmicrohttpd, libeven
15.
▲
Show HN: EZLive – lightweight serverless self-hosted livestream
(github.com)
2 points
by
mistivia
1y ago
|
0 comments