Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ki_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
ki_
3y ago
I dont know why they make it that difficult. I just do it like: https://pastebin.com/duN0cGJY
2.
▲
by
ki_
3y ago
I have an M2 for my work. MacOS still gives me random lag spikes sometimes. But it's probably because the OS is bad and not the hardware. This is never an issue on win/linux. idk. im not a fan. but.. im just saying.. if the hardwa
3.
▲
by
ki_
3y ago
1. You can share templates between front & back-end using any language. (im not talking about WASM) 2. CSS has NOTHING to do with js/ts. 3. Most single page js applications require SSR anyway, otherwise you have a blank screen or s
4.
▲
by
ki_
3y ago
horrible article, title is super clickbait and totally not what the article represents. There is no backfire and all it says is that some people dont know what can or cannot be recycled...
5.
▲
by
ki_
3y ago
I thought v was older, hmm, ok. But still, all these languages should have reached 1.0 by now. Except for jai, because jblow has other things todo. Wasnt c created in 2 weeks?
6.
▲
by
ki_
3y ago
at the moment, if you want a non gc language with automatic memory management, rust is your only choice. ki is an alternative, but my goal is to make it a much simpler than rust. I need to spend some more time writing rust & ki in order
7.
▲
by
ki_
3y ago
in v? i have no idea, never used it.
8.
▲
by
ki_
3y ago
! ignores the function error (only possible with void return types) !? provides an alternative value when the function errors !! exits the current scope on an error, e.g. return,continue,exit,... It doesnt seem that complex. Ofcourse, there
9.
▲
by
ki_
3y ago
I removed this section from the website. As others said, the text is not good and not really helpful.
10.
▲
by
ki_
3y ago
"It does not have any garbage collection and instead uses ownership combined with minimal ref counting to manage memory" Because we only allow you to store values with ownership inside other objects, you cannot have a circular ref
11.
▲
by
ki_
3y ago
I think v-lang is faster than ki, rust, go. But their memory management isnt waterproof. Also, they have been in development for a really long time and there isnt much progress. They should have reached 1.0 by now, but they havent and i thi
12.
▲
by
ki_
3y ago
yeah, that might be a good idea.
13.
▲
by
ki_
3y ago
I could add an example to the git README. Currently there is an example on: https://ki-lang.dev/ https://ki-lang.dev/docs/dev/intro For a more indept view of the language you will have to see the
14.
▲
by
ki_
3y ago
i'll remove it ^_^ it seemed like they want you to use Visual studio and for me it was like 10GB+ for a minimal setup. idk.
15.
▲
Show HN: Ki Programming Language
(github.com)
40 points
by
ki_
3y ago
|
70 comments
16.
▲
by
ki_
3y ago
All i see is that the php fpm based frameworks (e.g. laravel) are 100x - 300x slower. And this is the best case scenario. When projects grow, php-fpm gets slower and slower. Which is not the case for go. Im not a go-fanboy, my entire carree
17.
▲
by
ki_
3y ago
Ringbuffers are one of my favorite things to use. Thanks for the article.
18.
▲
by
ki_
3y ago
If both run under 500ms. I guess it's your choice. Just pick the one that's most productive for you. If flake8 takes longer than 1 second, i'd replace it with ruff. 1 second is a really really long time for a linter, even if
19.
▲
by
ki_
3y ago
Thanks for changing it, i dont know why people are giving you such a pushback, personally, i think the internet could use a bit less hype titles. Side note, i'd pick "Using" instead of "Use"
20.
▲
by
ki_
4y ago
I like nix because it seems like an alternative to docker. Yet. Im never going to use it, because it has complexity and i dont understand why. Which is why i dont use docker nor nix. I can work with both, i just dont want to waste my time o
21.
▲
by
ki_
4y ago
That's distributed ownership. Basically you get ownership of certain objects for no reason. And if you question the Goverment Class about this behaviour, you get freed from memory. Not a good strategy in my opinion.
22.
▲
by
ki_
4y ago
True. But doing this yourself can result in bugs. It would be nice if we didnt have to think about it.
23.
▲
by
ki_
4y ago
I just meant that 99% of software was written without the idea of ownership. Sure, we had objects containing other objects, but i dont see that as "ownership". Interesting arguments. Thanks.
24.
▲
by
ki_
4y ago
as a language designer.. im still stuck wether ownership is a good or bad idea. I like ownership because that's how we handle things in the real world. Eg. 2 people grabbing potato chips out of a bag at the same time is a bad idea. We
25.
▲
by
ki_
4y ago
You cant balance it. In order to balance it, you already have to put these people into certain boxes, which is already pretty offensive. Then you'll have to descriminate against people in certain boxes in order to balance it. ITS WRONG
26.
▲
by
ki_
4y ago
Well, there is nothing to fix. As long as the speakers are picked based on their content, everything is fine. But OP suggests we pick speakers based on their skin color... that's fucked up.
27.
▲
by
ki_
4y ago
> FOSDEM is dominated by a very telling lack of diversity No one cares about a persons gender or skin color. We care about the information that's being shared. Only racists and sexists care about the gender and skin color of the spe
28.
▲
by
ki_
4y ago
ugliest car i have ever seen. people wont buy it. simple.
29.
▲
by
ki_
4y ago
huh? waw. strange. there are 2 fibers on the benchmarks. 1 slow and 1 really fast. Same for socketify. 1 fast, 1 slow. Why is this?
30.
▲
by
ki_
4y ago
sure it's faster.. but go gin and fiber are really slow. they are literally 90% slower than the fast go frameworks. Not that im a go fanboy, but to put things into context here, the actual context here is: python framework 5% faster th
More ›