<< 14-07-2025 >>

00:01:23*beholders_eye quit (Ping timeout: 244 seconds)
00:07:14FromDiscord<user2m> In reply to @simbuilder "Hey huge fan of": I basically use nim as typescript today. Just compile down to JS
00:19:57*amadaluzia_ quit (Quit: ZNC 1.10.0 - https://znc.in)
00:20:19FromDiscord<Robyn [She/Her]> @simbuilder the admins are also just regular users, you should ask your questions here, there are a few people here who I'd consider knowledgeable who aren't admins (since, admins are purely for the community management side)
00:21:07FromDiscord<Robyn [She/Her]> Bindings to Haskell would have to go through an intermediary C layer, fyi
00:21:52FromDiscord<Robyn [She/Her]> You can expose Nim to C quite easily and bind to that on the Haskell side, I've only touched Haskell briefly so can't attest to the experience of exposing Haskell code to C
00:23:15FromDiscord<Robyn [She/Her]> Nim can't bind to TS since, TS' types only exist on the language level and get compiled away when exporting to JS, so are you asking about how to get typesafety on the Nim side when using JS libraries?
01:01:39FromDiscord<simbuilder> I am very glad to have joined then, I like merit based open source communities.
01:01:55FromDiscord<simbuilder> Right reason for Haskell would be the use of the Cardano Crypto.
01:02:35FromDiscord<simbuilder> Though if TypeScript is based in itself + Lua which it is, and Nim compiles to Lua could it not work with TypeScript?
01:03:06FromDiscord<simbuilder> It's just that TS is less error prone than JS
01:03:28FromDiscord<simbuilder> Especially when it comes down to linting errors and catching them prior to the console logs.
01:03:50FromDiscord<simbuilder> TypeSafety would definetly improve the UX when working with JS.
01:04:21FromDiscord<simbuilder> _
01:04:55FromDiscord<leorize> for binding to any native languages, that's not an issue as long as they can talk C
01:05:05FromDiscord<simbuilder> Join me in #langdev
01:05:27FromDiscord<leorize> nim doesn't compile to lua
01:05:35FromDiscord<leorize> also, that room is for developing languages using nim
01:07:59FromDiscord<leorize> nim can bind to TS in the same way JS can bind to TS, by using JS as the common language
01:08:34FromDiscord<leorize> I don't think any automated wrapper exists, and fwiw nim type system is not as featureful as TS
01:17:15FromDiscord<simbuilder> Okay so, I will be in langdev with that purpose in mind.↵I am working on a fork called soul, I will share my conceptual repository there so you all can evaluate it.
01:17:23FromDiscord<simbuilder> Thanks
01:20:32FromDiscord<Robyn [She/Her]> In reply to @simbuilder "Though if TypeScript is": Nim doesn't compile to Lua
01:55:32FromDiscord<simbuilder> RIP, ChatGPT lied to me then.
01:55:37FromDiscord<simbuilder> (edit) "RIP," => "RIP"
01:55:44FromDiscord<simbuilder> Can it?
01:55:54FromDiscord<simbuilder> How hard would a Lua binding be?
01:56:06FromDiscord<simbuilder> Luau too?
01:59:00FromDiscord<simbuilder> I could FireCrawl the whole Docs and then VectorDB it for RAG if that helps.
01:59:35FromDiscord<leorize> yes↵(@simbuilder)
02:00:00FromDiscord<griffith1deadly> why is everyone so obsessed with AI? is google blocked? is github blocked? AI is cancer
02:00:10FromDiscord<leorize> you'd need to reimplement nim semantics in Lua terms
02:00:23FromDiscord<simbuilder> Sure, I can do that.
02:00:35FromDiscord<Elegantbeef> @griffith1deadly People are lazy and asking a supposed intelligence is easier than using your own
02:00:46FromDiscord<leorize> AI is pretty bad at nim, fwiw
02:00:56FromDiscord<leorize> this language isn't popular enough
02:00:59FromDiscord<Elegantbeef> > AI is pretty bad↵FTFY
02:02:17FromDiscord<simbuilder> We'd have to teach each LLM by giving it enough data about semantics, operators, constructors, functions, events, client, server, classes, ect.↵↵Then the AI provider would have to process the data from their RL feedback loops into the actual LLMs for it to take effect.
02:02:18FromDiscord<leorize> haxe is a better polygot language if you're interested in that
02:02:28FromDiscord<simbuilder> What is haxe?
02:03:00FromDiscord<griffith1deadly> In reply to @simbuilder "RIP ChatGPT lied to": isn't it says about nimlua that is just lua binding to nim? lua executor from nim code basically and not compiler backend
02:03:32FromDiscord<simbuilder> Interesting, so it has nimlua in nimble?
02:03:42FromDiscord<simbuilder> Then is it missing anything?
02:03:56FromDiscord<simbuilder> Idk who maintains this stuff.
02:04:15FromDiscord<Elegantbeef> Sometimes I feel like I'm in an asylum
02:04:36FromDiscord<griffith1deadly> https://github.com/search?q=nimlua%20language%3ANim&type=repositories
02:04:52FromDiscord<griffith1deadly> stop using AI or AI will replace you;
02:05:33FromDiscord<simbuilder> Wow so Haxe is about twice the versions into dev than Nim↵https://haxe.org/
02:05:49FromDiscord<Elegantbeef> Don't say that. People will start chanting "you won't replace us" and it'll be hard to distinguish who is who
02:05:56FromDiscord<simbuilder> It's what you build
02:05:59FromDiscord<simbuilder> AI is a tool
02:06:12FromDiscord<Elegantbeef> @simbuilder As if that really means anything
02:06:26FromDiscord<Elegantbeef> 4.3.7 or 0.1.00000001
02:06:58FromDiscord<simbuilder> Well when you look at Nim it's at 2.2.4
02:07:03FromDiscord<simbuilder> Same versioning convention
02:08:14FromDiscord<leorize> I can create a language and start with version 15.0.1, it doesn't mean anything
02:08:37ehmryif anyone is interested I made a tool for processing code before feeding it to a model https://git.sr.ht/~ehmry/scramble
02:08:54FromDiscord<simbuilder> What does it do?
02:09:50ehmryflips around stuff to produce code that is impossible to tell if it actually works or not
02:10:02FromDiscord<leorize> huh, even sourcehut is using anubis
02:12:59FromDiscord<Elegantbeef> Leo you made me look at their site↵> Made with ❤️ in 🇨🇦↵Damn I guess I need to add something to my site \:DMade with 💀 in 🇨🇦
02:14:21FromDiscord<leorize> how long do you think you can display that flag 😛
02:14:44FromDiscord<Elegantbeef> As long as I'm alive
02:15:24FromDiscord<Elegantbeef> Which from my perspective will be forever
02:39:53*Guest60 joined #nim
02:40:27*Guest60 quit (Client Quit)
03:05:25*rockcavera quit (Remote host closed the connection)