Vlád Zä
vlz.bsky.social
Vlád Zä
@vlz.bsky.social
C++ compiler backend @ Microsoft. Previously - F# compiler and tooling lead.

Opinions are my own and all that.

Russia is a terrorist state! Make fascists afraid again. Fuck bigots.
You can somewhat control Ableton via MIDI. Or whole macOS via the AppleScript?
April 1, 2025 at 2:36 PM
What’s your setup?
February 21, 2025 at 6:14 PM
What’s worse is that he has a bunch of followers who legitimately think that he’s right.
February 1, 2025 at 11:36 PM
Glad it’s not only me. He is a bigot, he is toxic and can’t handle any criticism.
February 1, 2025 at 11:19 PM
What, worse than JavaScript?
January 28, 2025 at 6:40 PM
My literal first thought is “this must be some sort of deepfake to make fun of him”. Nope.
January 21, 2025 at 12:11 AM
So, if you want to use “dotnet fsi” to run scripts, you will need it on machine. So, have dotnet installed. You _probably_ only need runtime though, not sdk.

You also can host FSI session yourself, and then run any scripts there. In this case you can just do self-hosted for your app which hosts fsi
January 4, 2025 at 11:51 PM
But there’s probably no way of natively compile FCS currently, I doubt NAOT compiler will manage to do it, a bunch of reflection- and (recursive)generic-heavy code there.
January 4, 2025 at 10:59 PM
You can technically pack a self-contained app, but it will contain a runtime and needed dependencies. I have never tried it with FCS though.

learn.microsoft.com/en-us/dotnet...
Application publishing - .NET
Learn about the ways to publish a .NET application. .NET can publish platform-specific or cross-platform apps. You can publish an app as self-contained or as framework-dependent. Each mode affects how...
learn.microsoft.com
January 4, 2025 at 10:58 PM
Wdym without the dependency on sdk? There’s compiler service (on top of which compiler is built). It has FSI sessions API. But to run it under normal circumstances, you’ll need a dotnet host. Alternative you can use fable, it will be JS. What are your environment and requirements?
January 4, 2025 at 10:32 PM
Ooh, next time you're here, I can show you a couple of really good non-touristy places!
November 29, 2024 at 3:51 PM
Oh. It seems I’ve missed it. I have to give it a shot! It looks really good!
November 25, 2024 at 8:30 PM
Funnily enough, that was the very first task I did in F# team - new test framework. Proud of it :)
November 23, 2024 at 6:28 PM
Nice. We have something similar in F#, looks like this:
November 23, 2024 at 5:16 PM
These parts are more oop there, but I think it was essentially up to person who was writing that code.

Won’t be surprised either if Try* didn’t exist at the time this was written :D
November 23, 2024 at 5:02 PM
In this case, I don’t think it’s worth it, we don’t care much whether we catch the exception or check existence and report a diagnostic. I suppose exception is more explicit.
November 20, 2024 at 8:00 PM
I’m already here!
November 16, 2024 at 9:38 AM