Look at my original response to John's post about this... The binary format
you are thinking of is racket/fasl.

Jay

On Friday, March 27, 2015, Sean Kanaley <skana...@gmail.com> wrote:

> Couldn't this binary s-expression just be a struct?
>
> '(move 3 5)
>
> becomes
>
> (struct move (x y) #:prefab)
> (move 3 5)
>
> client/server will likely have some kind of matching either way, and
> prefab structs can be matched
>
> (match command
>   [(list 'move x y) ...
>
> becomes
>
> (match command
>   [(move x y) ...
>
> On Fri, Mar 27, 2015 at 7:15 PM, Alexis King <lexi.lam...@gmail.com
> <javascript:_e(%7B%7D,'cvml','lexi.lam...@gmail.com');>> wrote:
>
>> It might be interesting to create a binary s-expression format for more
>> efficient reading/writing, a la BSON’s relationship to JSON. Perhaps even
>> with some sort of optional compression. Racket’s reader is fairly
>> complicated, though, so it might need to restrict itself to a useful subset?
>>
>> > On Mar 27, 2015, at 16:12, John Carmack <jo...@oculusvr.com
>> <javascript:_e(%7B%7D,'cvml','jo...@oculusvr.com');>> wrote:
>> >
>> > On Friday, March 27, 2015 at 2:45:00 PM UTC-5, Brian Craft wrote:
>> >> Was this a reference to a particular racket lib? And if so, which one?
>> >>
>> >> https://twitter.com/ID_AA_Carmack/status/577878167542734848
>> >
>> > I have a long history of bit packing multiplayer network messages, but
>> for this project I am just sending text s-expressions with read and write,
>> and my life is much better.  Yes, it is bulkier, but I'm sending binary
>> VoIP data after it, so it won't dominate bandwidth, and making software
>> easier to write and more reliable is a fine way to spend some of our wealth
>> of resources today.
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Racket Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to racket-users+unsubscr...@googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','racket-users%2bunsubscr...@googlegroups.com');>
>> .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to racket-users+unsubscr...@googlegroups.com
>> <javascript:_e(%7B%7D,'cvml','racket-users%2bunsubscr...@googlegroups.com');>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com
> <javascript:_e(%7B%7D,'cvml','racket-users%2bunsubscr...@googlegroups.com');>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Jay McCarthy
http://jeapostrophe.github.io

           "Wherefore, be not weary in well-doing,
      for ye are laying the foundation of a great work.
And out of small things proceedeth that which is great."
                          - D&C 64:33

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to