Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bgongfu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
bgongfu
8y ago
Reminds me of the stinkymeat project [0] for some reason. Sweet memories from a more playful online experience, and probably part of the reason I turned vegan. [0] http://www.stinkymeat.net/stinkymeat/day1/
2.
▲
by
bgongfu
8y ago
There are different qualities of salt. Some contain additives, sea salt contains plastic particles. I eat plenty of salt, as much as I feel like; but it's all mineral salt without additives.
3.
▲
by
bgongfu
8y ago
Everyone likes to pretend they can predict the future for a while, to the point where they will stop at nothing to make it conform to their predictions. Then comes the part where they will defend their choices to death, no matter how much e
4.
▲
by
bgongfu
8y ago
The whole discussion is a side track, the essence of who we are is and always was immortal. Do you honestly believe in a universe that would throw away the results of the experiment? There's no proof either way, but it seems the least
5.
▲
by
bgongfu
8y ago
Primitive types such as booleans, int, floats, times etc. are passed by value. Reference counting is only used for heap allocated values and types that themselves reference values, like pairs and tables. https://github.com/b
6.
▲
by
bgongfu
8y ago
And since composition is seamless, and they're relatively trivial to implement; they make great glue/DSL/process description languages. Take off as in replace C++ or Java, probably not. I see them more as a complement to exis
7.
▲
by
bgongfu
8y ago
I get what you're saying, and I get the same feeling from most modern languages. They lack conceptual integrity. It's sort of spreading like a virus, even C++ fell into the same trap lately. Whole system design is difficult, reall
8.
▲
by
bgongfu
8y ago
It sort of makes sense in an engineering/programming context, but life in general doesn't really lend itself to that level of control. Did you ever try thinking about how they might turn out for the best instead to compare results
9.
▲
by
bgongfu
8y ago
Two words, nested functions. They should have been in the C standard a long time ago, solving the same problems without them is a major pain. And even though Clang supports most of the rest of the GCC extensions, they stubbornly refuse to t
10.
▲
by
bgongfu
8y ago
I wouldn't trust any corporation with something I couldn't afford to loose, Microsoft or not. Corporations, by definition; have no souls.
11.
▲
by
bgongfu
8y ago
I guess the question is if they actually changed or just retreated back to the Embrace phase with plan B.
12.
▲
by
bgongfu
8y ago
I'm split on this one. I lived through Microsoft's dark ages, when the victory of open source was still hanging by a thread. The reason we're seeing a softer Microsoft is that they lost, they were forced to change. And the op
13.
▲
Show HN: Faster Fibers using Threads
(github.com)
1 points
by
bgongfu
8y ago
|
0 comments
14.
▲
by
bgongfu
8y ago
No experience, and not APL; but [0] pops up on my radar now and then. [0] https://futhark-lang.org/
15.
▲
by
bgongfu
8y ago
There are as many kinds of nils as programming languages. Cixl [0] doesn't derive nil from every other type, instead Nil and most other types derive Opt; which means that user code may specify Opt to accept nil or any other type to hav
16.
▲
Show HN: Faster Fibers using Threads
(github.com)
1 points
by
bgongfu
8y ago
|
0 comments
17.
▲
by
bgongfu
8y ago
While I'm all for more options, and against deprecating commonly used functionality; the results I'm getting say that first class context switching support isn't really as important as we like to pretend.
18.
▲
Show HN: Faster Fibers using Threads
(github.com)
4 points
by
bgongfu
8y ago
|
3 comments
19.
▲
by
bgongfu
8y ago
Sweet Amiga memories :) I recently reverse engineered the walker to get something simple but fun to animate, in the console no less: https://github.com/basic-gongfu/cixl/blob/master/devlog/cons...
20.
▲
by
bgongfu
8y ago
If you're serious about writing code; I strongly recommend learning some C, Forth & Common Lisp to get an idea of what's possible. Once you have those under your belt, appearances matter less and Cixl will look less crazy bana
21.
▲
by
bgongfu
8y ago
Not bad; my make-fu was never that spectacular to begin with and it hasn't been aging well, this helps me a lot. Sure thing, if you feel like giving the entire makefile the same treatment I'd be delighted to accept it. Thanks for
22.
▲
by
bgongfu
8y ago
For the record: I just benchmarked GnuPth with NULL sigmask against ucontext for the example in the post and it's slightly (3.4/3.2s) slower.
23.
▲
by
bgongfu
8y ago
I hear you; I'm not overly excited with CMake either, or the C build system story in general. I spent several years trying to bend regular make into something I was happy with; then I spent several years on top of that using Rake, sinc
24.
▲
by
bgongfu
8y ago
I was under the impression that Boost Context is more than that; at least that's what the amount of assembler code tells me; but I'll be the first to admit I don't have much patience for deciphering modern C++. I get that it&
25.
▲
by
bgongfu
8y ago
Isn't Zig based on LLVM rather than compiled to C?
26.
▲
by
bgongfu
8y ago
Not faster than dealing directly with ucontext from what I've seen; many wrap it directly and the rest tend to emulate using signals, setjmp and prayers. I would love to be wrong though...
27.
▲
by
bgongfu
8y ago
Cixl? :) I realize the Forth & Lisp heritage might be a bit hard on the brain for those who haven't been exposed before, but what you're asking for is otherwise more or less what Cixl is aiming for. https://github.c
28.
▲
by
bgongfu
8y ago
It's slower than Boost Context for sure, but still around 10x faster than (ab)using Pthreads on Linux. Until someone releases a faster standalone C library it's still the fastest portable solution for projects like Cixl that can&#
29.
▲
Show HN: Minimal Fibers
(github.com)
53 points
by
bgongfu
8y ago
|
43 comments
30.
▲
by
bgongfu
8y ago
Jedi encryption :) One of the ideas I've tinkered with along the way is hiding encrypted emails in content that's markov generated from unencrypted communications with the same peer. It doesn't have to be perfect, just good e
More ›