HackerTrans
TopNewTrendsCommentsPastAskShowJobs

benstigsen

no profile record

comments

benstigsen
·vor 10 Monaten·discuss
I can recommend that people check out Lune [1], it's a Luau runtime which includes a small but nice standard library. It's very easy to create something like a webserver in it. [2]

[1]: https://lune-org.github.io/docs/

[2]: https://lune-org.github.io/docs/the-book/5-networking/#runni...
benstigsen
·letztes Jahr·discuss
I am building a webserver using Luau[1] and Lune[2], which will be used to host my own website. I haven't been this excited in a long time, when it comes to trying out a new programming language. Luau seems to make Lua _perfect_ (except for the classic 1 based indexing). And with Lune it also includes a very simple way to serve requests, which has always been a headache to do with regular Lua in a cross-platform way.

I am hoping this will be the way in which I write most of my future scripts and projects.

[1]: https://luau.org/

[2]: https://lune-org.github.io/docs
benstigsen
·letztes Jahr·discuss
I disagree. Having been a previous V developer contributing to the language (though arguably very little), the issues of missed deadlines, fake it till you make it and more seems completely valid.

If you join the Discord and search for "this week", "this month", "next week" and "next month" with Alex Medvednikov as the author, you'll see 80+ (yes, that many) missed deadlines, some that go all the way back to 2019.

Version 0.3 promised autofree and a syntax freeze, it got none of those. I remember discussing this with Alex, saying that it would be ideal, to publicly mention that autofree wouldn't be included in the release, and it is as if he just couldn't see why that type of communication was important.

There were also instances of moderators publicly being mean to other chatters, _especially_ when asking about valid concerns in the language, like the criticism mentioned in other blog posts (specifically the "V is for Vaporware" posts). When talking to one of the other moderators, this was defended as "cultural differences".

I left the team (and was blocked by Alex) the same day that another developer left.

The V syntax has also changed quite a bit, and is significantly more complex than it was in 0.3.

One thing I wish would have happened with V, would be having a narrow focus, instead of working on Gitly, vbrowser, ved, vinix, Volt, native backend, autofree, c-to-v converter, go-to-v converter and all the other things. Alex is very ambitious to the point that very little seems finished.
benstigsen
·letztes Jahr·discuss
I created something like this relatively recently. The downside is of course that it requires JavaScript.

https://github.com/benstigsen/include.js
benstigsen
·letztes Jahr·discuss
I noted this on my website, some time ago [1]:

> Making use of sql.DB from multiple goroutines is safe, since Go manages its own internal mutex.

Then I quote the database/sql documentation [2]:

> DB is a database handle representing a pool of zero or more underlying connections. It's safe for concurrent use by multiple goroutines.

[1]: https://stigsen.dev/notes/go-database-thread-safety/ [2]: https://pkg.go.dev/database/[email protected]#DB