Simulating Softbody Dynamics in Vlang
l-m.dev
l-m.dev
Perhaps you want to go to the GitHub page (https://github.com/l1mey112/v-2Dsoftbodies). Font sizes would all be uniform. But the blog has the animations to first see how it works.
It’s definitely legitimate to ask what’s up with that
author probably needs this: https://github.com/adityatelange/hugo-PaperMod/issues/828#is...
i got bit by this on my blog as well
I personally can't say why someone would use it over Go or Rust, but I can say its a joy to write.
Sum types and TCO with -prod is a really nice feature as well. Not supporting TCO was a huge bummer when I tried Nim, and many other languages tbh.
I already use Go sometimes, so picking up vlang was basically free, and I haven’t had time to do any big substantial projects with it, but I wrote a little irc bot with it and had a good afternoon hacking on it.
C++ is just too big and slow to compile.
Rust has a reputation of complication and steep learning curve.
Go has the same issues as Node.js -- uncontrolled import of hundreds of weird and unknown and unknowable libraries.
V is opinionated, has a single definition of correct formatting, compiles to fast-enough C, has numerous handy features, is sensitive to multiple platforms and architectures, and has lots of usefully comparable code to learn from and borrow from.
V is not scientific enough, but that depends on the libraries you choose not the language itself (the scientific lib vsl is quite different from the tensor lib).
There are a lot of wanna be scientific languages (Chapel is a particularly good example) but the usual problem is that no-one adopts them because almost no-one else adopts them. Cray Fortran introduced Co-Array Fortran which got some traction but it is almost unheard of both inside and outside the Fortran community. (CAF abstracted from OpenMPI so you could write code that ran on hundreds of CPUs without really caring how or where the code ran.)
Maybe chatgpt or other LLMs will enable effective cross-language translation making it easier to move between interesting language communities. Modulo translation errors of course.
Check out vtl:
Edit: Took another look and I like it. Trying to decide if I want to mess with vlang or austral next.
The V language was always real, and never a scam or vaporware. This clearly false view and misconception, partly originates from very early on (2019), and whether the language would actually be released on GitHub.
When the source code release was delayed (back in 2019), detractors and competitors pounced on this, and attempted to give the impression that the language didn't exist. But then, it was finally released on GitHub, and proven to be real. Unfortunately, the very tribal drama had already been started, and detractors and competitors kept it going. Obviously (since 2019 and easily confirmed on GitHub) V has near weekly releases, hundreds of contributors, and continually improves. That's about as real as it gets.
Hopefully we can kind of put an end to the old unnecessary drama and tribalism. It's now 2023. There is enough space in the world for different programming languages to coexist. No need to bash other languages or continually fuel more drama, we can enjoy whatever language, and keep it moving. Peace.
I did an early release of the Patreon-only compiler without sources, and that was a mistake.
Persons in the thread gave the impression the release was suppose to be June 20th, when in actually, that was a Patreon supporter early release (as you have stated). The general release was on June 22nd. Furthermore, if the release was to be sometime in June, then it should not have mattered which day (as long as in June) nor was it necessary to come at a developer like that doing an open-source language release.
Upon looking at it further and with this link (https://github.com/vlang/v/issues/287), to confirm the facts of what happened, you can see that you indeed did an early release and scheduled the actual release on June 22nd. Thanks for setting the record straight.
I suppose more complex shapes would benefit from rigid body parts aswell