3 ms·
There were some very sketchy plans about making this multilanguage... The best we could come up with was writing a small C module that would call Python code an
by wulczer 14y ago
There were some very sketchy plans about making this multilanguage... The best we could come up with was writing a small C module that would call Python code and that you could wrap in other languages.
If anyone has a better idea on how to keep the logic in one language, but make it accessible to everyone (preferably without inventing a whole DSL, that would end up being just like a real programming language, but worse), please speak up!
- drivebyacct2 14y ago>a small C module that would call Python code Seems strange to me. Seems like for a lot of this, where it's often HTTP based anyway, you could implement much of it in C without it being a complete nightmare.
- alttab 14y agoNot very practical if you needed to deliver the integration over the Internet in a web app
- drivebyacct2 14y agoHuh? We're talking about a library to use in applications, web apps or otherwise, and finding ways to make them usable with multiple languages. That screams "C", as every language I can name can call C code. If they delivered libsaas as a C library, everyone can write a small wrapper and then have it in their favorite language. Honestly, I don't know what "deliver integration over the Internet in a web app" means in this context at all. I'm sure there are already C libraries to make REST calls easy and the rest is just creating the proper queries and parsing responses into usable structures, etc.
- alttab 14y agoI ask because I'm solving the "cloud API" problem right now too - but my context and environment require that we can solve the problem with internet technologies and not compiled C code. I can't really go into too much detail yet.
- drivebyacct2 14y ago... what? Like I said, the things you're saying are either vague to the point of misleading or you're extremely confused about some very basic things... I'm a huge fan of "web techonologies". Seeing as Go is a great way of writing web services that back web apps, it's a pretty good fit. There are thousands of things that aren't possible, and never will be with "web technologies". Every web technology is hitting some web service somewhere that's powered by code that does not run in a web browser. "Solving the Cloud API problem" sounds like... well it's sounds like a bunch of jargon speak.