💾 Archived View for bbs.geminispace.org › u › Troler › 3743 captured on 2023-11-14 at 10:09:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-11-04)

➡️ Next capture (2023-12-28)

🚧 View Differences

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

Comment by 🛞 Troler

Re: "Whats your current favorite language?"

In: s/programming

IMHO Haskell is a mistake.

🛞 Troler

Aug 01 · 3 months ago

9 Later Comments ↓

🚀 ahappydeath · Aug 02 at 01:40:

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

🌝 eggboycolor · Aug 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 · Aug 04 at 21:34:

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

— https://akkartik.name/freewheeling

🦀 jeang3nie · Aug 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 · Aug 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 · Aug 13 at 19:41:

Mine is Julia, very natural and fast.

🍩 wholesomedonut · Aug 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 · Sep 21 at 11:32:

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

🦋 karel · Sep 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 · 25 comments · 5 likes · Jul 29 · 4 months ago · #dart #elixir #nim #programming-languages #roc #rust