Live data from Hacker News

Using io_uring to make a high-performance finger server

drewdevault.com

11–17 of 17 posts

Re: Using io_uring to make a high-performance finger server

#11
post #6

For confused people: it's written in author's language Hare. The language uses QBE as backend [2]. I wonder what author has against Zig (probably at least current dependence on LLVM). It reminds me of Myrddin [3], which AFAIR is connected to Suckless folks. [1] https://harelang.org/ [2] https://c9x.me/compile/ [3] https://myrlang.org/ [4] https://suckless.org/

The issue with most Better C languages is that they focus on ABI rather than API compatibility and throw away C header parsing because no one likes libc. With cross-platform standards like OpenGL, POSIX, Vulkan the API is declared in terms of high-level ANSI C or C99 language constructs and binary constants may be unspecified and left up to vendor. Ideally new language designers which don't want to support H files wo…

LLVM is about to become an optional component of Zig once the self-hosted compiler is done.

https://kristoff.it/blog/zig-new-relationship-llvm/

Re: Using io_uring to make a high-performance finger server

#12
post #5

I tried to use finger in Ubuntu, and it doesn't display UTF-8 correctly. It seems that a patch would fix this but it's been untouched for 6 years https://bugs.launchpad.net/ubuntu/+source/bsd-finger/+bug/46...

Is this because the finger protocol is defined such that it must use ASCII, and not UTF-8? (Honest question, have not used finger in a looooong time)

https://datatracker.ietf.org/doc/html/rfc1288#section-2.2

Re: Using io_uring to make a high-performance finger server

#13
post #6

For confused people: it's written in author's language Hare. The language uses QBE as backend [2]. I wonder what author has against Zig (probably at least current dependence on LLVM). It reminds me of Myrddin [3], which AFAIR is connected to Suckless folks. [1] https://harelang.org/ [2] https://c9x.me/compile/ [3] https://myrlang.org/ [4] https://suckless.org/

> Please do not share this website with others until we believe it's ready for broader distribution.

Ooops. I sometimes totally ignore all those notices, because of all the cookie and consent garbage. But I guess if one does a blog post using the language it probably is somewhat ready for distribution.

Re: Using io_uring to make a high-performance finger server

#14
post #13

Earlier quoted context omitted.

> Please do not share this website with others until we believe it's ready for broader distribution.

Ooops. I sometimes totally ignore all those notices, because of all the cookie and consent garbage. But I guess if one does a blog post using the language it probably is somewhat ready for distribution.

Drew has been mentioning stuff about it increasingly much, but has still never posted the name of the project or any links to a website for it or its code publicly; only to people that are getting involved in it. I didn’t know its name or where it was before today.

Re: Using io_uring to make a high-performance finger server

#15
post #13

Earlier quoted context omitted.

Ooops. I sometimes totally ignore all those notices, because of all the cookie and consent garbage. But I guess if one does a blog post using the language it probably is somewhat ready for distribution.

Drew has been mentioning stuff about it increasingly much, but has still never posted the name of the project or any links to a website for it or its code publicly; only to people that are getting involved in it. I didn’t know its name or where it was before today.

Sorry! I can't edit the comment now, but at least it is not on the front page anymore.

I know that it is miles different then posting direct link, because people are averse to any kind of work, but I found the site in the first search. Searching for "drew devault programming language" gives me the language homepage as the 5th result.

EDIT: Also looking on the blog page which is the result from the search mentioned above there is no warning there, that's also why I didn't payed much attention to the warning, as I just stripped the path leaving only the hostname part. Sorry again.

Re: Using io_uring to make a high-performance finger server

#16
post #5

I tried to use finger in Ubuntu, and it doesn't display UTF-8 correctly. It seems that a patch would fix this but it's been untouched for 6 years https://bugs.launchpad.net/ubuntu/+source/bsd-finger/+bug/46...

Is this because the finger protocol is defined such that it must use ASCII, and not UTF-8? (Honest question, have not used finger in a looooong time) https://datatracker.ietf.org/doc/html/rfc1288#section-2.2

I think that's more because they used bsd-finger and never patched it, while it was patched on other distributions. bsd-finger probably follows the RFC, but the RFC may not follow usage (especially since it's almost 30 years old now). According to wikipedia the first implementation of UTF-8 was made for Plan 9 in 1992.

Re: Using io_uring to make a high-performance finger server

#17
post #6

For confused people: it's written in author's language Hare. The language uses QBE as backend [2]. I wonder what author has against Zig (probably at least current dependence on LLVM). It reminds me of Myrddin [3], which AFAIR is connected to Suckless folks. [1] https://harelang.org/ [2] https://c9x.me/compile/ [3] https://myrlang.org/ [4] https://suckless.org/

> I wonder what author has against Zig (probably at least current dependence on LLVM) Here are some opinions shared by ddevault: https://news.ycombinator.com/item?id=15494222

Those opinions might've changed:

> I’m interested to see how it measures up under more typical workloads. People keep asking me what I think about Zig in general, and I think it has potential, but I also have a lot of complaints. It’s not likely to replace C for me, but it might have a place somewhere in my stack.

https://drewdevault.com/2020/01/08/Re-Slow.html

Post reply on HN