There is https://tauri.app/ coming up to let Electron app developers debloat their offerings.
Life is Tetris
🙏🏽
I write software (C++) for a living.
#Emacs #Prolog #Erlang #SelfHosted
- pro-communalism
- anti-consumerism
- pro-holisticism
- anti-monism
- pro-libre software
- fan of #Plan9 and #HaikuOS
anti-witchhunt, see https://stallmansupport.org/
- 1 Post
- 15 Comments
Life is Tetris@leminal.spaceto
Programming@programming.dev•Can't decide if end user index access should be 0 or 1 based and if END index should be inclusive
1·5 months agoRuby/Crystal seem to have P … Q for inclusive ranges and P … Q for right-exclusive ranges.
Life is Tetris@leminal.spaceto
Programming@programming.dev•Really good Guile Scheme crash course
1·5 months agoWhat kind of programs do you, or would you, write in C? For most programs, writing in C would leave you, as you put it, stuck.
Life is Tetris@leminal.spaceto
Programming@programming.dev•Up and Down the Ladder of Abstraction
2·5 months agoHaving all these amazing worked-through ideas by Bret Victor available in the open is itself amazing!
Life is Tetris@leminal.spaceto
Programming@programming.dev•Really good Guile Scheme crash course
1·5 months agoAnd was on the ActivityPub committee before that.
And created GNU MediaGoblin before that.
That is what Delta Chat and Monocles do on different protocols, with WebXDC. https://webxdc.org/
Life is Tetris@leminal.spaceto
Programming@programming.dev•Introduction - redo: a recursive build system
1·6 months agoAnything from djb can be expected to be good 👍
The simplest tool I had come across was memoize.py (and others like it). Given a build script, it uses
straceon a from-scratch build to figure out dependencies. On future builds, it rebuilds only what has changed. It naturally captures edge cases like, rebuilding everything if the compiler changes! But also the typical case, of include files etc.
Life is Tetris@leminal.spaceto
Programming@programming.dev•Git experts should try Jujutsu
1·6 months agoOn a lighter note. There are Git experts? ;-)
Life is Tetris@leminal.spaceOPto
Programming@programming.dev•Lemmy as a discussion forum
3·6 months agoI remember glancing at NodeBB (in my ignorance, I am averse to node.js). Activitypub seems to be an integration in it rather than its basis.
Life is Tetris@leminal.spaceto
Programming@programming.dev•OpenDylan sheds some parentheses in 2025.1 update
2·6 months agoI get that it is an evolution, but building on top of SBCL seems like it would have made more sense.
Life is Tetris@leminal.spaceto
Programming@programming.dev•A brief history of JavaScript
1·7 months agoApparently, this should be possible now (and, for apps, the result would be as “usable” as Electron) thanks to WebIDL. For example, Webkit’s code to support Javascript access of browser objects is generated from a WebIDL spec. Generating support for <your_language>'s access to Webkit’s browser objects is “just work”.
Actually, https://tauri.app/ …
Enough of this tangent now!
Life is Tetris@leminal.spaceto
Programming@programming.dev•A brief history of JavaScript
4·7 months agoI suspect writing cross-platform desktop/mobile apps in HTML/CSS/JS was another big pull in this direction.
Many popular languages are bad, yet JS is the one with a widely-deployed OS interface written in it (WebOS).
If free-software/open-source devs hadn’t got caught up chasing all this, there was a chance of replacing JS with other languages in the stack. HTML/CSS/your_language probably for apps initially, even making browsers support plugging in languages later. The docs say anything other than JS is not supported, so no <script type=“text/your_language”>. If only!
Life is Tetris@leminal.spaceto
Programming@programming.dev•A brief history of JavaScript
2·7 months agoThe first fully-developed prototype-based OO language was Self, original Javascript seems quite similar.
Life is Tetris@leminal.spaceto
Programming@programming.dev•i want to learn/use functional programming language
1·7 months agoAs a long-time toe-dipper in functional programming waters, I am yet to appreciate the gestalt of any individual language. Going by Joey Hess of Debian and Git Annex fame, #Haskell is what is most bang for the buck.
I have found, though, that the most useful aspects, in isolation or in combination, are pure functions, immutable data and pattern matching syntax. Maybe you will find them in a language you like. Personally, I am enjoying foraying into #Prolog and #Erlang (or Elixir).
This is great. Overdue if you consider the values they espouse. Quite feasible for a compiler project to ignore the network effects of Github. Is their Discord usage next :-)