frescosecco, to random
@frescosecco@mastodon.social avatar

As a software developer, do you consider yourself part of a community? Is the community based on a programming language? Something else? A bubble, a cult?

ocramz,
@ocramz@sigmoid.social avatar

@frescosecco @maas (I see we are in good company with and people here) as an intermittent OSS contrib to of a few years, I felt waves of community engagement too: from "I can change her" to burnout, and back

lpil, to random
@lpil@hachyderm.io avatar

https://packages.gleam.run has been upgraded to use the Wisp web framework, SQLite, and LiteFS ✨

lpil,
@lpil@hachyderm.io avatar

Oh yeah I'm supposed to use hash tags here

MegaMichelle, to programming
@MegaMichelle@a2mi.social avatar

I've been reading about #Erlang lately. I'm a little disappointed. Erlang seems real good and powerful, but it's not nearly as weird as I thought. I had somehow gotten the impression that it was #Prolog-level weird, but it's only #Lisp-level weird, which is not actually all that weird these days, since everybody else added some functional elements to their languages.

So I was ready to have my mind blown, but instead I only got it expanded.

galdor, to programming
@galdor@emacs.ch avatar

First reaction after installing 27 rc1 (kerl build-install 27.0-rc1 27): yes ~"foo" is shorter than <<"foo">>. But 1/ it's a lot less ergonomic to type (try it!) and 2/ the default printer is still going to spit out <<"foo">>.

Using b"foo" would have so much better.

abcdw, to elixir
@abcdw@fosstodon.org avatar

Today I was writing elixir code the first time in my life, to convert mix.lock to json, for later processing and converting to guix package definitions.

One of the problems I faced is a lack of specification of lock file format.

I still have a few questions, but having sha256 in lock files is very promising. We will be able to generate package definitions for the whole project without accessing network.

I was using mix2nix as a foundation:
https://github.com/ydlr/mix2nix

vascorsd, to FunctionalProgramming
@vascorsd@mastodon.social avatar

The new language tour for Gleam looks nice - https://tour.gleam.run

is a language statically typed on top of the BEAM virtual machine (the thing powering erlang).

It plays in the ecosystem together with .

I've never touched tech but always been curious and being a developer, gleam talks to me.

Patiently watching it grow 😌

bortzmeyer, to programming French
@bortzmeyer@mastodon.gougere.fr avatar

Non mais ça va pas, , de rajouter des champs à l'en-tête ? Ça sert à quoi, ce PR ?

ra = 0, %% :1 recursion available
pr = 0, %% :1 primary server required (non standard)
%% :2 unused bits
rcode = 0 %% :4 response code

sergio_101, to random

I still wish every day that I could live full time in the land of #smalltalk

#pharo #gemstones

tetrislife,

@sergio_101 don't know how you'd save an image of that life! , maybe, then?

pleia2, to linux
@pleia2@floss.social avatar

The s390x open source team at IBM confirms the latest versions of various software packages run well on on . In October 2023 validation was maintained for over two dozen projects, including: the web server, &

Full report: https://community.ibm.com/community/user/ibmz-and-linuxone/blogs/elizabeth-k-joseph1/2023/11/09/linuxone-open-source-report-october-2023

djrmarques, to elixir
@djrmarques@emacs.ch avatar

What is the use case for
/ I have been reading more into functional programming languages, and one that pops up a lot is Elixir.

As far as I understand, the great thing about these is that they run on the Erlang BEAM VM, which seems to be very suitable to distributed computations right? Does this mean that the BEAM VM could run on multiple machines? If I understand correctly, Elixir/Erlang would not be that great if I just want to write simple CLI tools, but would excel if I was writing for example a Data streaming platform or the backend for some app right?

rbino, to programming

Only 10 days left to submit your talk for the , , and friends Devroom at @fosdem 2024!

https://beam-fosdem.dev/call-for-talks/

@elixir

BoydStephenSmithJr, to programming
@BoydStephenSmithJr@hachyderm.io avatar

mailbox types would be so dreamy: https://www.youtube.com/watch?v=PRrjc8v7zHA

would also benefit, yeah?

frescosecco, to programming
@frescosecco@mastodon.social avatar

Hacked some initial mode for the editor yesterday evening.
I have an Erlang shell but did not manage to connect to LSP/ELP, it hangs while initializing. Language server support is also still somewhat minimal in Lem.

tetrislife,

@frescosecco tangential, but wasn't there a project long ago to make an Emacs clone in Erlang? SWI-Prolog has a barebones Emacs clone! An Erlang Emacs makes a lot of sense when considering that Emacs became more usable after it got async support. If parantheses matter, there are multiple Lisps on the BEAM.

frescosecco,
@frescosecco@mastodon.social avatar

Had an idea on lunch break & got it talking to ELP/LSP.
A lot of LSP methods are not yet implemented in Lem, namely code lenses: https://github.com/lem-project/lem/issues/602

lawik, to elixir
@lawik@fosstodon.org avatar

The standard type of list in Erlang and Elixir being a linked list seems like it introduces a lot of undesirable patterns. It shapes how we match on them, how we add to them, what we avoid doing on them (appending, concatenating). It generally imposes and awareness and you also see it reflected in what API gets exposed. Standard libraries are trying to help you not do the less optimal thing.

Is there a way to move on from it. So much is built on it.
How would you do it?

vascorsd, to programming
@vascorsd@mastodon.social avatar

It's so rare that anyone remembers about when talking about other like in this particular case. Just happy and surprised 🧐

--

Things I like about Gleam's Syntax https://erikarow.land/notes/gleam-syntax | https://lobste.rs/s/ev9cam

macleod, to haskell

Various thoughts on too many programming languages, for no discernible reason.

I have been interested in Go since it's very initial release, but their dependence on Google is uncharming to say the least. I still haven't made up my mind on its GC, but its definitely better than most.

I used to do some ML work in .NET and if it wasn't dependent on Microsoft it would be a heavy contender for a great language, but it has far too many Microsoft-isms to ever really go much farther.

Rust is great, I enjoy beating my head against a brick wall battling with the compiler, and their safety is great, but overly complicated and feature-creep is a real problem on that entire project. I do a lot of work these days in Rust, for better (mostly) or worse (mostly-ish).

C is my bread-and-butter, as is Javascript for quick prototyping.

Elixir is great, but Erlang is unwieldy, the community is growing, but not fast enough - and I just can't get my mind to enjoy the syntax no matter how nice it is.

D is a lot of fun, but their GC can be slow at times, and the community is very small and packages are often broken and unmaintained.

Python was my first true love, but I really can't stand the whitespace, again love the language, hate the syntax.

Zig is fun, but just that. Fast, nimble, but early days, a bit confusing, could replace my insistence on C for core projects, but again, early days. I love to use them as a compiler for C, much faster than the defaults on any of the others.

Odin is one I love to keep an eye on, I wish I could get behind using it for more things. When I first took notice ~4 years ago the documentation was a bit scattered, but it looks much better now. The developer behind it is incredibly cool, could be seen as the next Dennis Ritchie imo. Runes are dope. The syntax is by far my favourite.

Julia, I love Julia, but performance last I tested was a bit of a miss, and by miss, it required a decent chunk of compute for basics, but when you gave it the system to throttle, it would be insanely productive to write in. Javascript is something that I prototype even syscalls in, but Julia is just the same but much better and more productive (and less strange) in many regards. I am really hoping this takes over in the ML/Data world and just eats Python alive. I've heard there has been major work in the perf department, but I haven't had reason to try it out lately.

Ada, memory safety before Rust! Great language, especially for critical applications, decades of baggage (or wisdom), slow moving language, insanely stable, compilers are all mostly proprietary, job market is small, but well paid, great for robotics, defense, and space industry types, but the syntax is... rough. Someone should make a meta-language on top of Ada like Zig/Nim/Odin do for C, or Elixir does for Erlang.

The others: Carbon, haven't tried; Nim, prefer when they were "Nimrod" (cue Green Day), decent but not my style; Crystal, seems cool, but not for me; Scala, great FP language, but JVM; Haskell, I'm not a mathematician, but my mathematician friends love it. I see why, but not my thing as much as I love functional languages. I'll try it again, eventually. I did not learn Haskell a great good.

I tend to jump from language to language, trying everything out, it's fun and a total timesuck.

[ # ] :: #haskell #c #d #elixir #julia #nim #odin #odinlang #programming #code #rust #ada #dotnet #zig #python #txt

macleod,

@marcuse1w Not sure why I didn't see this!

Since writing this I've started looking more into Lisp, and I am starting to understand why everyone things its "gods chosen language". it's great, and you can turn/embed any language into a lisp. That's cool.

I like both Ada and C, but I work in the robotics industry, so we have to constantly switch between the two for anything hardware based. They both have their benefits, C is my preferred because of how simple (it can be, if you try...), but Ada (Primarily SPARK is what I've done work in) is great, but dated in many regards. I don't know if I've ever looked into Austral, but I'll take a look!

Haskell, tried it many times, never a good time. Ocaml isn't bad, but again, not my thing or style but definitely something I inherently understand more.

Scala, JVM, my sworn enemy. Never again. They can't get me suckered into reading Java docs again.

Elixir, great language, but I am going to agree with you - I am starting to prefer working with Erlang directly, but its early days on that. I've started looking into @lfe which looks incredible.

Nim, I dislike whitespace reqs in languages, I tend to value customization of my styles to make it all make sense to me, so Nim is too controlling for me in that regard. I read code a lot more than write it.

No real opinion on C2-3, love D, V looks interesting but not sure yet, Jai - if it ever comes out, haven't heard of Scopes, and I already mentioned Carbon.

If someone could find a way to package Rusts memory management in a tenable way to be cross-language, we would have a massive explosion of greatness. I know it's possible, but nearly impossible without some wicked genius' at the helm.

[ # ] :: #C

marcuse1w,

@macleod

Functional programming wise I like Erlang. It’s simple, to the point, surprisingly powerful with a few charming quirks. Elixir is fine but I like Erlang better. I am interested in the new set-theory type system for Elixir though. The initial presentation looks really good.

I haven’t really given Haskell a chance, but when I dabbled with Elm I liked the approach. Elm is more simple of course. What I don’t like so much about Haskell is that there are several compiler extensions and even if you decide for yourself not to use them to keep it simple they might sneak into your projects via packages. And then you still have to learn the underlying concepts.

Compared to Haskell I prefer Ocaml, although that has also some charming quirks. In total it feels to me that in functional programming the language communities there are a lot of discussions about concepts and less about actual coding. I was a fan, but I gravitate back to procedural. Especially as a lot of procedural languages have some functionality now that used to be associated with functional programming.

Scala looks great, but I haven’t got around it.

A few interesting variances of Ada are Austral, which provides a linear type model that gives interesting guarantees for memory but also file management (and more). A really interesting approach. Austral is also quite new and still growing.
Then there is HAC which currently covers a subset of Ada and has a compact compilation suitable to embed into other programs.

Last but not least Nim. A very pleasant language. Versatile, fast and you can choose to use it with or without garbage collector. This is in my view a great option as there are many problems that benefit from a garbage collector but sometimes you need to know where your bits and bytes are exactly.

#erlang #elixir #ocaml #nim #austral #hac

leobm,
@leobm@norden.social avatar

@marcuse1w @macleod If you like , is an option. With there is also a stable erlang backend. Or I find very exciting in the erlang world (erlang and Javascript backend). Otherwise you might also like (native and wasm backend) if you are generally into ML languages. I also think is an extremely nice language. I've never understood what many people have against the syntax. I find it extremely simple and beautiful. Well, I also like 😉

frescosecco, to Lisp
@frescosecco@mastodon.social avatar

I'm trying to connect to the ELP Erlang language server from Lem.

I'm actually not sure whether it works or not :)
From the ELP side, I'm getting this:


[ERROR elp::server] failed to fetch the server settings: ResponseError { code: -32601, message: "Method not found", data: None }

mathiasx, to random
@mathiasx@mastodon.xyz avatar

This is interesting: Hare, a “100-year language” that will freeze at 1.0
https://harelang.org/blog/2023-11-08-100-year-language/

tetrislife,

@mathiasx C is a 100-year language. Even a small worthy improvement like Plan9's C dialect didn't catch on, so I guess first-to-market and compiler adoption renders any other language moot (as much as I would like to like Ada, and like Zig and Forth).

Higher-level languages is where there has been wiggle-room around Python and PHP.

#Programming #C #Zig #Forth #Ada #Erlang #OCaml

frescosecco, to programming
@frescosecco@mastodon.social avatar

Sim-Diasca is a discrete systems simulation package written in , developed at Électricité de France a few years ago. I'm surprised that Erlang is not more prominent in simulation frameworks. (of course, I'm not an expert on simulation). Are there other frameworks?
https://github.com/Olivier-Boudeville-EDF/Sim-Diasca

vascorsd, to programming
@vascorsd@mastodon.social avatar

How many people out there have changed from #scala to #elixir successfully?

The language seems interesting enough, being #FP helps, and there seems to be some interesting opportunities out there to work on it.

So, what's the experience changing from one ecosystem to the other, successful stories, failures, recommended reading or learning resources?

🙂

sjfloat,

@vascorsd I've been intrigued with and the BEAM for years. But it seemed more niche that Scala

abcdw, to guix
@abcdw@fosstodon.org avatar

Transitive Package Management. Generate the lock file with your language's package manager and do the rest with guix.

I cancelled today's stream, but recorded a video for you ;)

https://youtu.be/s3VO9Kb0sHw
https://diode.zone/w/vCvgAWuTCruYuhCJ2ZccTh

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • ethstaker
  • InstantRegret
  • tacticalgear
  • rosin
  • love
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • cubers
  • DreamBathrooms
  • megavids
  • mdbf
  • modclub
  • GTA5RPClips
  • normalnudes
  • khanakhh
  • everett
  • cisconetworking
  • osvaldo12
  • anitta
  • Leos
  • Durango
  • tester
  • JUstTest
  • All magazines