Comment by ๐Ÿš€ stack

=> Re: "What would everyone say is a large file for a CGI script?..." | In: s/programming

My CGI scripts are <30Kb.

SpellBinding is 22Kb (without trying to make it small), using kissdb, but with under 1000 players you can just use the file system to keep user session data.

I strongly recommend C for things like this.

But then again, people think I'm nuts.

=> ๐Ÿš€ stack

Jan 12 ยท 7 days ago

4 Later Comments โ†“

=> ๐Ÿง‡ Acidus ยท Jan 13 at 00:55:

Gemipedia is around 9000 lines of C#,

=> ๐Ÿ€ gritty [OP] ยท Jan 13 at 02:10:

@Acidus oh wow. do you know the memory load per call?

@stack that's impressive. there are some binary file size reductions i might try for Go.

=> ๐Ÿš€ stack ยท Jan 13 at 02:29:

Well, always strip the production binaries

=> ๐Ÿ€ gritty [OP] ยท Jan 14 at 02:16:

Well, I stripped the production binaries and reduced the file size by like 80%. Much better.

Original Post

=> ๐ŸŒ’ s/programming

What would everyone say is a large file for a CGI script? I finished up my newest game in Go, but the file size seems rather large. I used stdlib for everything except sqlite access. wondering if I should use SCGI to get around load times.

=> ๐Ÿ’ฌ gritty ยท 5 comments ยท Jan 12 ยท 7 days ago

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/stack/23717
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
54.15715 milliseconds
Gemini-to-HTML Time
0.805909 milliseconds

This content has been proxied by September (ba2dc).