4 ms·
I've been working on porting golang's net/http and gorilla/websocket libs to Racket for the past few months (I don't like the servelet model.) Does anyone have
by nighmi 3y ago
I've been working on porting golang's net/http and gorilla/websocket libs to Racket for the past few months (I don't like the servelet model.) Does anyone have insight into how that model might not be optimal in a Scheme enviroment or how to better optimize it?
- gus_massa 3y agoI'm using the Racket webserver, but each page is it own rkt file. I'm using no continuations, just storing and reading everything in the hard disk. (I'm not sure it's optimal, but I prefer that approach.)
- veqq 3y agoInteresting. Do you have a viewable page example?
- gus_massa 3y agoSorry, but it's a internal website for the T.A. in the university where they can choose the building and hour to teach next semester (~500 persons). I have a shared module for the common parts of the webpage (like footer or header), parameters for the info of the user (like name or email), some macros like for/user to iterate through the whole list of users updating the parameters, and a macro to hide all the boilerplate at the top (it probably should be a #lang, but a macro is easier to write).
- veqq 3y agoHuh, I've actually been doing the same. Is your project public yet? Are you stating with RFC 6455's implementation and just changing the API or trying to approximate the implementations?