💾 Archived View for bbs.geminispace.org › u › ahappydeath › 3751 captured on 2024-08-25 at 05:34:05. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-18)

-=-=-=-=-=-=-

Comment by 🚀 ahappydeath

Re: "Whats your current favorite language?"

In: s/programming

IMHO Haskell is very fun to write and extremelly hard to read

🚀 ahappydeath [OP/mod]

2023-08-02 · 1 year ago

8 Later Comments ↓

🌝 eggboycolor · 2023-08-04 at 07:53:

My favorite language has changed a lot over the years, and lately I can't really say I have a "favorite" that I truly like the most. I try to learn and use lots of languages and programming paradigms, and vary things depending on the task at hand.

Cross-Platform: C++14, C89 (depending on target)

Modern Systems Programming: Rust, want to try Zig.

Scripting: Python, Lua.

Functional: Haskell, want to try OCaml 5.

Assembly: Wiz (my WIP high-level assembler project on backburner; usable enough for homebrew), CA65 (6502 family), RGBDS (Game Boy), WLA DX (cross-assembler)

At my gamedev dayjob I mostly use C# which is not my favorite, but has some nice features.

🐵 akkartik · 2023-08-04 at 21:34:

Lua, for some non-technical, almost _sociological_ reasons: https://akkartik.name/freewheeling

— https://akkartik.name/freewheeling

🦀 jeang3nie · 2023-08-05 at 23:10:

I use Rust more than anything else for a while now, but I don't think I'd call it my favorite. If anything, I've used it enough now for the mystique to have faded away a bit, and I can see the parts that I don't particularly care for in better focus now.

I've actively tried to be at least somewhat proficient in a wide variety of languages, although I can pretty clearly state an affinity for compiled languages. They mostly all have good reasons for existing. Nim is wonderfully concise. Zig I think is going to be huge in a few more years because it really does mostly solve the issues with C. Fortran is a hidden gem. Hare manages to be an improvement on C in a significantly smaller specification.

I still like plain C, too. So many things are simple to express in C because of the language's simplicity and lack of "safety". Want to make a Rustacean cry? Want to see how an integer is represented in memory on your machine?

#include <stdint.h>
#include <stdio.h>

typedef union {
    uint32_t val;
    uint8_t bytes[4];
} u32;

int main() {
    u32 i;
    i.val = 420;
    printf("Integer as bytes: %i, %i, %i, %i\n",
        i.bytes[0], i.bytes[1], i.bytes[2], i.bytes[3]
    );
}

About the only language family I have yet to explore at all is the lisp family. But, it's on my -list-

🛞 Troler · 2023-08-06 at 08:26:

Lisp user and an active s/Lisp user.

If you are going to learn Lisp I recommend you to start from MIT opencourse https://yt.artemislena.eu/playlist?list=PLE18841CABEA24090 or if you prefer to read the book, the course is bas'd upon https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/index.html

👻 naf · 2023-08-13 at 19:41:

Mine is Julia, very natural and fast.

🍩 wholesomedonut · 2023-08-19 at 04:13:

spoken honestly? Powershell. It's what I've written professionally and as a hobby for like 10 years, and I've had codebases sprawling into the thousands of lines. It's the one I can pull out of my head on demand and get a small POC working in the CLI, and then refine it down to modules with proper structure later.

I've written and delivered a handful of projects with Python. I enjoy how dumb simple and flexible it can be, and the database drivers are sane.

I did a small program in Rust for batch-processing OCR requests. Fastest, snappiest program I ever wrote. Accurate too, with Tesseract.

Clojure is my only real voyage into lisp and most "functional-focused" languages. I like it somewhat.

🦋 karel · 2023-09-21 at 11:32:

My current fav for private projects is Go. The language fulfills several top requirements of mine:

🦋 karel · 2023-09-21 at 11:32:

On the downside, I don't like how the Go code profiler works: it takes regular snapshots of the execution stack; recording method entry and exit time stamps would be more accurate. I am also not very happy with new features (the new package management and generics) that increase complexity but are neither indispensable nor significantly increasing productivity: for what I do.

Original Post

🌒 s/programming

Whats your current favorite language? — Mine is currently Elixir and has been for a while. Elixir makes it easy to build complex apps and has so much built into it that I don't often need to reach for external dependencies.

💬 ahappydeath [mod] · 25 comments · 5 likes · 2023-07-29 · 1 year ago · #dart #elixir #nim #programming-languages #roc #rust