Live data from Hacker News

Show HN: Ki Programming Language

github.com

31–40 of 80 posts

Re: Show HN: Ki Programming Language

#31

Reference counting is garbage collection. I mention this because the site claims no GC nut you claim I'm this thread that ref counting is sometimes used, which makes sense because borrowing sometimes isn't enough.

While reference counting is technically a method of collecting garbage, in modern parlance the phrase "garbage collector" is mainly used for systems capable of collecting garbage of an arbitrary reference graphs, which reference counting by itself cannot do (cyclic references).

General programming circles: “garbage collection” means only the “tracing” kind

PL circles: reference counting is also “garbage collection”

Re: Show HN: Ki Programming Language

#32

> Go: Go is amazing. But it does have garbage collection, which can cause lag spikes in some cases. The creators were also very late on implementing common sense features, such as package versioning and generics. There are some other small mistakes, but the point is that we lack trust in their descission making. > Rust: Rust right now might be the best language out there right now. It's hard for us to criticize them…

Why not make Swift a truly cross-platform language? I find it to be in a sweet spot between safety, performance and usability.

Re: Show HN: Ki Programming Language

#33

Earlier quoted context omitted.

While reference counting is technically a method of collecting garbage, in modern parlance the phrase "garbage collector" is mainly used for systems capable of collecting garbage of an arbitrary reference graphs, which reference counting by itself cannot do (cyclic references).

General programming circles: “garbage collection” means only the “tracing” kind PL circles: reference counting is also “garbage collection”

I sincerely doubt that those two groups are disjunct, or that they use the phrase "garbage collection" exclusively in the contexts you wrote.

Re: Show HN: Ki Programming Language

#34

Earlier quoted context omitted.

V-lang doesn't have GC, and how it compares to it?

V-lang is vaporware, designed to get Patreon bux off of gullible enthusiasts. See this post [0] from 2019. Things don't seem to have got much better in recent years [1] [2] [3]. [0] https://xeiaso.net/blog/v-vaporware-2019-06-23 [1] https://news.ycombinator.com/item?id=20230351 [2] https://news.ycombinator.com/item?id=20229632 [3] https://news.ycombinator.com/item?id=31793554

I've got no particular interest in V, but the hate it gets from a certain group of people here is really perplexing and I don't think it's at all warranted from what I've seen.

Re: Show HN: Ki Programming Language

#35
post #8

I say this every other programming language thread: Please, get some code examples up front and center, simple Hello World, and anything that shows whatever strong features your language has for organizing code like classes and so on. Python, Racket and a few others do this really well. Even on the GitHub a simple short but significant enough code snippet would do wonders. Maybe the syntax is exactly what I expect an…

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 docs. An overview might not be bad indeed.

[deleted]

Re: Show HN: Ki Programming Language

#36
> LLVM is however really slow. There isnt much we can do about this except write our own IR compiler, which we would rather not do.

So compilation times are dominated by llvm so there won't be any significant improvement on compilation speed.

> Ki is a statically typed language. It's advantage over most languages is that you cannot have any undefined behaviour.

Java, C, C++ are statically typed. I understand it's not many languages, but they do represent a pretty large share of coders...

Re: Show HN: Ki Programming Language

#37
post #8

I say this every other programming language thread: Please, get some code examples up front and center, simple Hello World, and anything that shows whatever strong features your language has for organizing code like classes and so on. Python, Racket and a few others do this really well. Even on the GitHub a simple short but significant enough code snippet would do wonders. Maybe the syntax is exactly what I expect an…

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 docs. An overview might not be bad indeed.

I think the README and website are great. The example code is above the fold!

Re: Show HN: Ki Programming Language

#38
post #34

Earlier quoted context omitted.

V-lang is vaporware, designed to get Patreon bux off of gullible enthusiasts. See this post [0] from 2019. Things don't seem to have got much better in recent years [1] [2] [3]. [0] https://xeiaso.net/blog/v-vaporware-2019-06-23 [1] https://news.ycombinator.com/item?id=20230351 [2] https://news.ycombinator.com/item?id=20229632 [3] https://news.ycombinator.com/item?id=31793554

I've got no particular interest in V, but the hate it gets from a certain group of people here is really perplexing and I don't think it's at all warranted from what I've seen.

Yeah it's weird. They seem to have the same copy-pasted message ready with some old links and whatever they could gather that's more recent. Never fails.

As far as I can see V is well placed on TechEmpower so it must be doing something right at least: https://www.techempower.com/benchmarks/#section=data-r21&tes...

Maybe they didn't deliver on all their claims yet, so what? They seem to be trying something cool. Certainly not reason for all the vitrol.

Re: Show HN: Ki Programming Language

#39

> Go: Go is amazing. But it does have garbage collection, which can cause lag spikes in some cases. The creators were also very late on implementing common sense features, such as package versioning and generics. There are some other small mistakes, but the point is that we lack trust in their descission making. > Rust: Rust right now might be the best language out there right now. It's hard for us to criticize them…

>"Sometimes you have to limit bad practices."

The way to do it I think is to properly mentor / monitor juniors rather than tying up hands of experienced developers.

Post reply on HN