Re: [racket] Racket VM in FPGAs

2013-10-19 Thread Petr Samarin
y different direction? From your original email, I assume you're using > JOP as a springing board? > > Alex > >> On Oct 19, 2013, at 4:32 AM, Petr Samarin wrote: >> >> First I want to develop a small core (probably written in VHDL) that >> supports a

Re: [racket] Racket VM in FPGAs

2013-10-19 Thread Petr Samarin
First I want to develop a small core (probably written in VHDL) that supports a subset of Racket's bytecode. I don't want to target any specific board/FPGA so that it can be used anywhere. But during development I will be testing the core on the board that I have at home (DE2-70 from Terrasic).

[racket] Racket VM in FPGAs

2013-10-18 Thread Petr Samarin
Hi all, I am planning to write a hardware implementation of the Racket VM. Basically something like JOP (http://www.jopdesign.com/) but for Racket. Where can I find the documentation for the Racket VM? Thanks, Peter Racket Users list: http://lists.racket-lang.org/users

Re: [racket] openGL on Mac OS

2012-07-02 Thread Petr Samarin
Thanks! I am happy to be a Racket user! On Jul 2, 2012, at 4:39 PM, Matthew Flatt wrote: > At Thu, 28 Jun 2012 19:20:06 +0200, Petr Samarin wrote: >>> On Jun 27, 2012, at 11:54 PM, Matthew Flatt wrote: >>> Any other ideas? >> >> How about creating a dummy frame w

Re: [racket] openGL on Mac OS

2012-06-28 Thread Petr Samarin
wrote: > At Wed, 27 Jun 2012 23:14:21 +0200, Petr Samarin wrote: >> I was trying out some examples from the documentation and used openGL code >> outside of openGL context! > > That makes sense. I vaguely recall that Apple's GL is likely to crash > without a context

Re: [racket] openGL on Mac OS

2012-06-27 Thread Petr Samarin
t; Game application (such as Jewel or Gobblet)? > > Can you send more of the crash report? > > At Wed, 27 Jun 2012 15:04:43 +0200, Petr Samarin wrote: >> FFI bindings for openGL do not work when "glu-lib" and "gl-lib" in gl.rkt >> are >>

[racket] openGL on Mac OS

2012-06-27 Thread Petr Samarin
FFI bindings for openGL do not work when "glu-lib" and "gl-lib" in gl.rkt are linked to Apple's own openGL libraries in: "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL" "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU" Any use of functions provided

Re: [racket] H264 Codec in Racket

2012-06-14 Thread Petr Samarin
On Jun 14, 2012, at 4:26 PM, Eli Barzilay wrote: > Racket has the advantage of > macros, which can often be used in such bit-whacking (nice term) > situations. It can be used to easily pre-generate some code that > would otherwise be too complicated to write. Can you point to some example where R

Re: [racket] Fast array access using Racket FFI

2012-05-08 Thread Petr Samarin
me: 18 real time: 18 gc time: 0 Thank you, Eli. On May 8, 2012, at 3:34 PM, Petr Samarin wrote: > Hello everyone, > > I am trying to write OpenCV FFI in Racket and arrived at a point where arrays > need to be manipulated efficiently. However, all my attempts to access arrays

[racket] Fast array access using Racket FFI

2012-05-08 Thread Petr Samarin
Hello everyone, I am trying to write OpenCV FFI in Racket and arrived at a point where arrays need to be manipulated efficiently. However, all my attempts to access arrays by using Racket FFI resulted in very inefficient code. Is there a way for fast access of C arrays using FFI? In Racket, th