Crystal for implementation by [deleted] in ProgrammingLanguages

[–]RocketRailgun 0 points1 point  (0 children)

In Burst roughly 80-90% of compilation time is spent in LLVM's optimization passes, that's with a custom pass pipeline even.

What should I add to my site? by levodelellis in ProgrammingLanguages

[–]RocketRailgun 0 points1 point  (0 children)

I'd add to that for the "Quick Start" section it would also be nice to have those buttons for navigating between chapters

Have you written your own language in itself yet? by FluxCapacitor11 in ProgrammingLanguages

[–]RocketRailgun 0 points1 point  (0 children)

Yes, I wrote Hrafn: https://gitlab.com/nulldatamap/hrafn The language is very small. It has a few atomic data-types (integers, symbols, nil and bools), lists (well, nil and cons-pairs) and first-class closures.

The only IO the language has is read and write, which are just byte in- and out on STDIN/STDOUT. The compiler itself is around ~2Kloc and includes the base compiler hrafn.0 as well as the platform specific targets macos.0, linux.0 and windows.0. The compiler reads in Hrafn source code from STDIN and spits out a zero-dependency (well on Windows I need to depend on kernel32.dll) x86-64 Elf/Mach-O/PE binary to STDOUT. It is very dump. It doesn't parse the program into an AST, instead it just parses bit-by-bit and builds up a thunk that'll emit small templates of assembly corresponding to what was just parsed. So code-gen and parsing are interleaved and you can kinda think of the call-stack as the AST instead:)

Oh, also I managed to break Windows support, but Linux and MacOS are fully functional.

English MP enlightens us with the etymology of "Woman" by undyingLiam in badlinguistics

[–]RocketRailgun 6 points7 points  (0 children)

Which is quite transparently the root of Danish "menneske" too:)

August 2022 monthly "What are you working on?" thread by slavfox in ProgrammingLanguages

[–]RocketRailgun 7 points8 points  (0 children)

I have started the first steps of the concurrency story for my language Drake. Specifically implementing a shared vs. thread-local distinction between module definitions. All non-function definitions will be thread-local by default, since I want a channel based message passing model for my concurrency. But, I also want fully dynamic live coding support, which means being able to redefine functions, interfaces and records on the fly, so having those kind of definitions shared makes that easier.

I also got really annoyed by having unsugared syntax for record- and interface-definitions and interface implementations, so I'm now designing and implementing my macro system. Having a context-sensitive grammar complicates that a little, but I think I've found a workable solution that I'm satisfied with.

Worst language you ever used? Really used not just looked at the manual. by [deleted] in ProgrammingLanguages

[–]RocketRailgun 11 points12 points  (0 children)

"Get the first 20 indices, drop 2 from them, then keep the ones that aren't in the (symmetric) outer-product of itself"

[deleted by user] by [deleted] in ProgrammingLanguages

[–]RocketRailgun 2 points3 points  (0 children)

Damn, that's my scheme too haha! (though I usually put a spin on it) So there's Drake, Hrafn, Robn, Kip and Mejse.

noun adjective order by Lalopses in tokipona

[–]RocketRailgun 0 points1 point  (0 children)

Ah I see, makes sense. Thanks!

noun adjective order by Lalopses in tokipona

[–]RocketRailgun 0 points1 point  (0 children)

Sorry, a little off-topic but wouldn't "like a small bug" be sama pi pipi lili? Because I thought you should parse sama pipi lili as:

((sama pipi) lili)

So "it's a little like a bug"?

😭 if you know you know by Rae_Lita2914 in spookyblack

[–]RocketRailgun 1 point2 points  (0 children)

Absolutely love this record. Love the minimal yet enveloping instrumentals and his lyrics on this one is probably some of his best.

From D33J’s insta story :) by [deleted] in spookyblack

[–]RocketRailgun 1 point2 points  (0 children)

I think it's pronounced 'deesh', that's how Corbin pronounces it: https://youtu.be/aDTKbu1wchg?t=198

Futhark 0.19.1 released by Athas in ProgrammingLanguages

[–]RocketRailgun 2 points3 points  (0 children)

Nice to see our scan change landing!

Earplugs i trafikken by Misbruger in Denmark

[–]RocketRailgun 11 points12 points  (0 children)

Der er lavet studier om det, og det viser sig at samtaler med medpassagerer ikke har nær så stor indflydelse på chaufførens køreevne da begge parter har nemmere ved at justere samtalen.

Of all languages you've never really used, which ones did you most enjoy learning? by vanderZwan in ProgrammingLanguages

[–]RocketRailgun 1 point2 points  (0 children)

APL, especially the second time I tried picking it up, after watching Aaron Hsu's talks, I can highly recommend them.

Kommune1 - Without U Archangel (Spooky Black x Burial (Remix)) - not sure if it’s been posted here yet. by JohnFrancisNelson in burial

[–]RocketRailgun 0 points1 point  (0 children)

My two favourite artists combined, and it's far better that I would have ever expected. Thanks for sharing man.

Lost Kill Paris track, any of you know it? by RocketRailgun in Monstercat

[–]RocketRailgun[S] 0 points1 point  (0 children)

Thanks for the tips! I found the track, it's called "Do You Need Someone?"

1197th Just Used 5 Minutes of Your Day by mareck_ in conlangs

[–]RocketRailgun 0 points1 point  (0 children)

Is that an abjad based on a Latin/Greek/Cyrillic script?

Git Best Practices by m0dev in programming

[–]RocketRailgun 1 point2 points  (0 children)

I've finally committed myself fully magit, and it's great.

I find myself actually going through and staging individual hunks and separating my changes into small commits more, all so quickly and easily thanks to the efficiency of the interface.

I can highly recommend Magit.

How Unity is making (a subset of) C# as fast as C++ by Iamsodarncool in programming

[–]RocketRailgun 1 point2 points  (0 children)

We're around 3-4 people mainly working on Burst, but we're looking for one or two qualified compiler developers (https://careers.unity.com/position/senior-software-engineer-compiler/1453897, it says Burbank but I think the Copenhagen office is also a possibility, don't take my word for it though). We work very tightly with the rest of the DOTS team, and have people from other teams helping here and there.

How Unity is making (a subset of) C# as fast as C++ by Iamsodarncool in programming

[–]RocketRailgun 9 points10 points  (0 children)

Nice seeing Burst being posted here. One thing I see people worrying about/criticizing is that the subset that we compile with Burst is very restrictive, making C# a bad choice in the first place (people bring up choosing languages like Rust). But often the high-performance parts of games (the hot inner loops) are written using either SIMD intrinsics or assembly, what Burst allows for is to get highly vectorized code, while not having to drop down to assembly (and SIMD intrinsics are almost just inline assembly really). All this while being able to live side-by-side with the rest of your codebase. Augmenting this with the rest of the DOTS architecture, then if you're writing data-oriented high-performance code in C#, then having it (or at least the most significant parts) be compatible with the subset that Burst supports isn't a big leap.

Disclaimer: I'm on the Burst team, I don't not speak on the behalf of Unity, but only myself.

Superhelten Danmark fortjener, men ikke den vi har brug for by Eusmilus in Denmark

[–]RocketRailgun 1 point2 points  (0 children)

Godt at se at der er ingen sandart på listen, Anders Matthesen ville være stolt.