Follow

Fug, I think I am a cranky old fart type already because I like to write code closer to the metal instead of using all the fancy new tooling.

Maybe I should swallow my pride and install vscode and try copilot or whatever it is kids these days are using.

Also I'm still using nano for all my text editing so I might be imposing a deeper limitation on myself than most minimalists. :P

· · Web · 5 · 1 · 9

@mauve nano?! you, dear, Mauve, may be torturing yourself. I'm old school, but at least I torture myself with Vim :D

@pauldaoust Hobestly might replace it with the default textbox implementation in QT/GNOME next. Syntax highlighting is too many cycles!

@mauve it's worth trying, I use rust and LLMs don't work for me... they might for you though!

@mauve The lower level you are, the less you have to worry about other peoples' code!

I just wish C was better.

@j3rn Jeeze that's so true. The main reason I avoid too many layers is people keep breaking them ans forcing me to update/refactor 🤣

I wanna go the other direcrion and code in prolog or something zany just to see what life is like in that world.

@mauve Yes, exactly! The whole "people keep changing things and now my stuff is broken" idea is actually something I hadn't been able to fully articulate until I saw @neauoire's talk at Strange Loop this year, but I now see it everywhere!

I've done a little Prolog—and it's fun!—but my programs are always super slow and there's always these little idiosyncrasies in the language that annoy me. I've been thinking about trying miniKanren or datalog for my next logic programming project.

@neauoire @mauve I'd not heard of it—thanks for the tip, I'll check it out!

@j3rn @mauve have fun :) felix only recently added SDL bindings to fleng ^__^

@neauoire @j3rn Oh my god. I love how this is a text file on an unsecured connrction with ascii text in the header. This is bound to be gold

@neauoire @j3rn very cool. What are folks using this for in the wild? :O Would love to see a large peogram written in it to see how folks decompile problems into it 🥰

@mauve @j3rn there's a game of life in the example folder, have a look. Fleng is super parallel, the evaluation scheme is mind boggling. Joe Armstrong said Strand was "too-parallel"

@neauoire @j3rn Are there any conpanies using it ti ship stuff? :O Also how is it's file/network IO?

@neauoire @j3rn Fuck. This is what the word "cyber" should mean in the vernacular. Cybernetics came out of modelling systems, not tracking todo lists. This would be great for system modelling and simulations.

@neauoire Yeah it'd be neat to do compilers or parsers or transformations over top of this stuff. The part about how to do concurrent streams is interesting.

@j3rn @neauoire Mobile is the worst part in my experience! I'll take a thousand "python module version mismatch" issues over an xcode upgrade 🤣

Neat! What sort of stuff do you even use it for? I've only really looked into it as a curiocity since my job is mostly shoveling bytes around in weird ways rather than working with data.

@mauve @neauoire Almost exclusively for puzzle solvers, so far. I wrote a 2x2 Rubik's Cube solver which is fine, though slow. I originally wanted to extend it to 3x3, but if the 2x2 version takes 5 minutes to run, so...

Recently I wrote a solver for the game Letter Boxed. That program can check your solution in milliseconds, but I don't think it's ever successfully computed a solution even when given 30m to run.

I don't use any logic programming for work—unless you count SQL constraints 😁

@j3rn Siiick. Is your source published for those? Would love to read it.

@j3rn @mauve Can I show y'all this thing of mine? github.com/akkartik/mu

Low level: check (program with registers but get good error messages when you make mistakes)

Better C: check (memory-safe like Rust)

Few layers: check (exactly 3, and each built strictly using lower layers)

Here's a paper that tries to lay it all out: akkartik.name/akkartik-convivi

@akkartik @j3rn Any chance you have this in markdown or some other text format so I can more easily run it through my reader?

@akkartik @j3rn Yeah LaTeX would be great :) PDFs are just uniquely hard.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.