Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ctxcode
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Show HN: Valk programming language with a stateful GC
(github.com)
2 points
by
ctxcode
7mo ago
|
0 comments
2.
▲
by
ctxcode
7mo ago
That's so awesome :D thanks for making this. amazing.
3.
▲
by
ctxcode
2y ago
Private companies are required to do a good job and balance spending to stay alive. Goverment agencies can do the most horrible job for enormous amounts of money and just keep going.
4.
▲
by
ctxcode
2y ago
Non profit: Every dollar not spent on patient can be donated a NGO and then laundered into your own pockets. For profit: While company A keeps the profit, company B lowers its prices instead. Now customers are going to company B instead of
5.
▲
by
ctxcode
2y ago
how i've used git every day in the last 10 years: git add -A, git commit -m, git push If there's an error because there are changes on the remote, type: git pull, fix conflicts in case there are any, repeat previous commands In al
6.
▲
by
ctxcode
2y ago
Sounds like this is going to cost alot of money. (more than it should)
7.
▲
by
ctxcode
2y ago
serverless just means that a hosting company routes your domain to one or more servers that hosting company owns and where they put your code on. And that hosting company can spin up more or less servers based on traffic.. TL;DR; Serverless
8.
▲
by
ctxcode
2y ago
We dont have static arrays for GC types. Creating multiple objects is always 1 by 1 and we would put them in a dynamic array. We do support non-GC structs, which allow you to create static arrays in a single allocation. I havent spent much
9.
▲
by
ctxcode
2y ago
Interesting article. 16-24 bytes per allocation is pretty big and it sounds like it would a bit too much overhead, an actual demo would be nice. My approach with Valk is to allocate per type size and in incremental sized blocks. These block
10.
▲
by
ctxcode
2y ago
i havent used htmx yet, but it sounds like a breath of fresh air. no npm library with 1000 dependencies with slow build times. just plain simple js library like the good old days ^_^
11.
▲
by
ctxcode
2y ago
If you never cache any data. Sure, u can use a bump allocator. Otherwise it gets tricky. I havent worked with actors really, but from the looks of it, it seems like they would create alot of bottlenecks compared to coroutines. And it would
12.
▲
by
ctxcode
2y ago
These kind of tactics work for simple examples. In real world http servers you'll retain memory across requests (caches) and you'll need a way to handle blocking io. That's why most commonly we use GC'd/ownership la
13.
▲
by
ctxcode
2y ago
If you change the language, you have no ecosystem. You cant say, it has a big ecosystem "if everyone ports their code". By that logic all languages have a big ecosystem. Anyhow. JS has much unexpected strange behaviour, i really w
14.
▲
by
ctxcode
2y ago
I stopped reading news in the last 3 years and i havent had one "damn, i didnt know about that" moment. News is truelly unimportant. As for "nowadays there's no difference between those 2 things". I think the "