[racket] serializable structs and portability

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Mon Mar 28 17:36:22 EDT 2011


I'm playing with serializable structs and noticed that the absolute path of the source rkt definition is inserted in the representation (I'm writing structs out to a file). 
The problem is that if I then move my application to a server for deployment, all serialized structs cannot be deserialized anymore. If I edit/replace, it works, but I assume this is not the right way to proceed.

What is the best way to obtain "portable" serialized structs?


-- Éric

Posted on the users mailing list.