https://www.boundaryml.com logo
🟡 Any thoughts/plans for kotlin support?
# questions
u
Any thoughts/plans for kotlin support?
v
not immediately, but happy to collab on timelines and prioritize accordingly! As of right now, the open api support is the only way (which does indeed suck 🙁 )
i think top langauges we are thinking about (in no particular order) are: Rust, PHP, Java / Kotlin, WASM
so one of those will be next 🙂
but our new architecture should make creating a port < 2 weeks of work, so its just about prioritization tbh
u
Thank you this is good to know I ask because with Kotlin you get wasm, android and iOS swift support with multi platform. I thought I saw a Java was supported as one of the targets from the homepage logos so I may have misunderstood something.
v
So we do support all of these use cases via our openapi interface so that may work for kotlin as well.
What most people do is they embed the BAML cli serve command within the same process so it actually works very seamlessly mostly most apps
u
I was hoping for the generated typesafe client code 😅 but I think there is a way to generate the needed client code from that api. Will take a look. Much obliged!
I’ll have to dig a bit to see about embedding the cli serve command 👍
c
Just a thought, wouldn't something like https://www.stainless.com/ help to generate sdks for X language?
u
Looks pretty nice but it's also beyond budget 😅
c
It's free unless your distributing the SDK publicly with more than 25 functions
v
stainless is ok, but its has the same problem as openapi, its not nearly as idomatic sadly 🙁
u
@Vaibhav (BAML 🐑) is there anything better?
Use an LLM to convert it? 😅