back
user profile

wofo

2,393karma·363submissions·December 17, 2013
about
Contact me at: [my username] [at] adolfo [dot] ochagavia [dot] nl (or check out ochagavia.nl)
recent activity (363 total)
comment
Just checked what is going on and that is indeed the case. Rust booleans compile now to the i32 type (though there is no guarantee that will stay like that in the future).
8y ago·view thread
comment
Note that I am using the allocator in Rocket, so I would estimate the size to be something around 40kB
8y ago·view thread
comment
I didn't expect people to comment on the game itself... It is indeed quite simple at the moment. Maybe your opportunity to get your feet wet with Rust by improving the game logic?
8y ago·view thread
comment
Awesome! Happy to see the WASM backend is getting more and more attention
8y ago·view thread
comment
Doubles are supported as well through the `f64` type I think. Interestingly, I am passing booleans in my code as well... and it seems to work.
8y ago·view thread
comment
Never heard of DataView before, thanks! This is the first time I do something "low level" in Javascript, so there is probably a lot that could be improved. BTW, here is an example passing ar…
8y ago·view thread
comment
It was surprisingly easy after I figure out some basic WASM stuff!
8y ago·view thread
comment
Since WASM in its current state is meant as a compilation target for C, it is usually possible to do things "the C way". For instance, you can allocate a buffer on the Javascript side and pa…
8y ago·view thread
comment
I haven't measured anything :P Regarding your suggestion, I cannot pass an object to Javascript, because from the perspective of the browser I am writing C. An alternative would be to have each f…
8y ago·view thread
comment
Interestingly, this works on desktop but not on mobile
8y ago·view thread
comment
Considering dereferencing a pointer after doing some arithmetic on it can only be done within unsafe blocks, I would say you are at least warned about it. But it will happily compile.
9y ago·view thread
comment
I learned Dutch using a similar approach ( https://www.amazon.com/Delftse-Methode-Nederlands-voor-buite... )…
9y ago·view thread
comment
That was exactly what I thought as well... I was wondering how it could be performant
9y ago·view thread
comment
Thanks! I was still using RustyCode...
9y ago·view thread
comment
Thanks! I am going to give Firefox another try :)
9y ago·view thread
comment
Maybe they were referring to a distributed monolith?
9y ago·view thread
comment
Awesome! Thanks for your reply!
9y ago·view thread
comment
Thanks for the course! I have a question unrelated to the contents: Why did you choose to release it for free? I guess you spent a lot of time preparing it, so I assume there must be some kind of (non…
9y ago·view thread
comment
It is refreshing to see the scientific community stand against Elsevier. Great news!
9y ago·view thread
comment
Note that the discussion on the golang subreddit [1] has a very different tone. One comment that particularly drew my attention is: > So people that rarely use this subreddit want to get rid of it?…
9y ago·view thread