If you haven't seen Atomic webserver 3 or know what it's about, here it is
https://atomicwebserver.com
It in part designed to provide an easy way to host Spider Basic apps on the web or desktop and with it's virtual file system you can also embed your assets and deploy your app as a single executable with no dependencies and serve from memory to a web gadget or directly to the users browser.
Thoughts?
Atomic webserver 3
Re: Atomic webserver 3
Wow, this is cool! I only just now got it compiled and working, haven't done too much testing, but it seems incredibly promising! Thanks for all your work on this, hope to see more and a donation from me in the future 

Re: Atomic webserver 3
I'm in the process of making an in memory object DB similar to mongoDB. It's an indexed keypair store and can persist data to disk using the PB JSON lib. Coupled with Atomic Web Server you can then use it embedded in your server application locally or use it remotely with or without a reverse proxy and use uri endpoints to set and get and from within a spider basic app.
In theory you should be able to share objects between Purebasic and Spiderbasic as the intermediatory is the JSON of your structures, assuming SB has the JSON lib support?
Is that the case?
In theory you should be able to share objects between Purebasic and Spiderbasic as the intermediatory is the JSON of your structures, assuming SB has the JSON lib support?
Is that the case?
Re: Atomic webserver 3
Sure, there is a full JSON lib support in SB
Re: Atomic webserver 3
That's very encouraging. The only hurdle I have to make it transparent to users it InsertJSONStructure as it wants a compile time structure reference rather than a mapped runtime reference.
The goals for interoperability between PB server and SB client is to achieve transparent IPC so your just working with the same structures, you just call setDb and getDb and get on with the code.
Re: Atomic webserver 3
Using Lubuntu 24.10. When I try to compile in PB I get error message
PureBasic - Linker error
/usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6
section.tbss mismatches non-TLS reference in purebasic.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: error adding symbols: bad
value
collect2: error: ld returned 1 exit status
PureBasic - Linker error
/usr/bin/ld: errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6
section.tbss mismatches non-TLS reference in purebasic.o
/usr/bin/ld: /lib/x86_64-linux-gnu/libc.so.6: error adding symbols: bad
value
collect2: error: ld returned 1 exit status