Making a programming language - BAML. @boundaryml, 🦄 aitw podcast: piped.video/@boundaryml prev YC, google, msft, deshaw, and other things

Seattle, WA
Replying to @capythanh
we worked really hard to add type safety to runtime reflection and eval. two examples of things we enable are: compile code at runtime and get back a typed function with a checked signature. build a class at runtime, unreflect it, and use that same runtime type as a compile time generic parameter.
12
1,512
Sounds like we need a new language 🤔 Boundaryml.com
JavaScript was never designed for the server. If that doesn't change soon, JavaScript on the server will be replaced by Rust. The fix needs to happen in the engine. Sound types. Ahead-of-time compilation. Threads with shared objects.
25
13
358
65,271
i'm just always seeing "context automatically compacting" longer context windows when?
4
5
995
I think we’re looking for this github.com/BoundaryML/feelin…
putting an early bet that Jev’s biggest use will be some flavor of context window protection for agents by filtering tool results agents will perceive a cleaner world through the lens of Jev
3
2
40
4,012
we're also fans! jev as an AI function coming to BAML in tonights release! github.com/BoundaryML/baml/p…
Replying to @remilouf
so did langchain! (not an insult, I'm a fan of both and BAML/instructor/guidance/all of it) the problem with building on TOP of LLMs is you inherit the flaws in their optimization (RLHF/RLVR) and still pay the cost of text generation we gave up a lot (text generation) to push the intelligence per $ and second pareto frontiers by a ton
5
3
44
3,756
damn got me.
4
13
998
code is always the source of truth i can't wait until harnesses are post-trained to do this more
1
8
492
this is your daily reminder to read something. read the specs read the plans read the code read the prs model drift is certain.
2
25
693
you've heard of IsRecord, but have you seen CookedRecord?
2
1
10
726
no more queuing messages in side chats apparently!
1
2
602
Agents will find and use every escape hatch
3
6
934
yes we are :) just put reflection into prod, so that should be part 1 (being able to hot swap code in the middle of a process running for different version) Telemetry capture gives us part 2 (using real data to create the basis on which we should create simulation software) theres a few things left before the true simulation arc is done: * make telemetry work for distributed stack * expose the visual graph as an API from the compiler via the reflection package * make some library that wraps around those three layers so its a few lines of code but imo most of the meat here is likely to be application specific, so we're currently focusing mostly on the building blocks. we're gonna talk about the first few bits when we go on the podcast tmrw! luma.com/baml
5
182
Replying to @nektro
apparently we do 0ver at baml w/o knowing that
2
55
“Make no mistakes”
6
539
i know for some folks this is peanuts, but its so cool to see that in the last 48 hours at least 75 people were watching @dexhorthy and I yap on youtube every hour. love you all <3
6
2
45
3,460
Replying to @Argona0x @dexhorthy
specifically the end when we mentioned the different products at different layers of factory building
1
29
the even more fun part is adding constraints like `throws never` on function types prevents you from passing lambdas that throw things as well!
2
43
Replying to @IamAroke
try catch sucking is why we made catch an expression in BAML. and now the compiler can infer exactly what every function throws and catch can be type-safe. piped.video/LnqZdiVWAes?t=680
1
1
147
software factories
5
2
54
7,016
Replying to @DeepknowledgeU
same code, no compiler errors, has a runtime crash. that is bad, and we should try and minimize it. I think we can all agree on that! i'm really confused about what your position is. are you saying structural matching doesn't lead to issues in typescript?
1
1
61
Replying to @DeepknowledgeU
When the language doesn't make certain guarantees, your code lies to you, and its very easy for ai to slip code like this through. see line 14. spooky.
1
1
52
Replying to @bloodraven458
sorry i used a bar example! here's where it gets ya
1
1,343
Replying to @longtilwrong
then i don't give a f**k

ALT Hell Yeah Agree GIF

2
228
why rust is better than typescript: no structural matching its convenient for human code, but a footgun for ai code. line 12 should be a compiler error!
9
6
41
7,618
Replying to @natetucker
how did you end up measuring the 25% rate? just vibes? one thing we've been experimenting with in BAML is how do you build examples that don't bias the model. for dumber models, usually find partial few shot prompt works well, and this works even better for bigger models
1
1
231
Be most proud of the code you delete
1
8
681
Replying to @longtilwrong @grok
you can check it out here: boundaryml.com/ (or at least a glimpse of it) but we gave a talk at AI Engineer where we showed a small part of it: piped.video/watch?v=AMiyLItE…
1
126
should i be worried about our expense policy?
2
5
559
Replying to @dillon_mulroy
you're gonna save a bunch more time just using baml ;) we've got a profiling and callstack system built in thats 6-15x faster than rust's OTEL option, and 1000-50000x small bytes.
2
462
We have a mutex on our GitHub repo
1
2
10
888
5 years ago this would be bikeshedding
2
7
570
our perks are the best: unlimited envelopes
by popular demand i will actually be mailing them a request what should i ask for? current frontrunner in my mind is the chromium project, but that is so large that they may just send me a URL
3
654
thats why we have built in tools for really good debugging! (fully queryable as well)
1
1
29
being a manager in 2026
1
13
1,017
@benswerd what about in memory, language-based sandboxing?
1
5
962
Replying to @eulerfx @lenadroid
I think what you're looking for is ai functions! which i perhaps should have scrolled too... in case you're curious, i'd love honest feedback: boundaryml.com/ (a lot of the copy is still in progress)
1
51
perl is dead.
4
587
Replying to @eulerfx @lenadroid
hmm would you take a language that gives you workflow diagrams thats stays 100% upto date with your code. (and perhaps lights up as you execute code)
1
1
42
i'd be really curious of your take on our concurrency model in BAML. tldr is green threads with return values, but we have cascading cancellations (including for infinite loops), and worker pooling etc. beps.boundaryml.com/beps/34
1
1
52
interesting...
1
1
523
Waymo just drop me off on the other side of the street please
5
2,948
SlopCodeBench is such a unique benchmark and raises a lot of fundamental questions about long horizon steering. Post training may not be all we need. @dexhorthy has been running this benchmark non-stop for past 2 weeks and the data doesn't lie
1
6
826
more rust devs need to read this by
I haven’t seen a Rust vibecoder yet. I wonder why?
1
3
791
Replying to @jamwt
No modern language could have the predicted writing code and it's going to be fully clanker operation. e.g. I want it to have rust's level of "if its compiles it works" but with go's compile times. Also try doing application concurrency/cancellation in rust, its hard.
1
140