[racket-users] racket on openwrt devices

2015-05-02 Thread Neil Van Dyke
What's the current viability of running Racket on a small OpenWRT 
device?  (Anything new, such as due to the recent modularization of the 
core?)


For example of specs of a popular beefy retail home WiFi router that 
runs OpenWRT well:


Processor: Atheros AR7161 rev 2 680MHz (MIPS arch)
RAM: 64MiB
Flash: 16MiB

Getting that up as high as 128MB RAM and 64MB-128MB flash would probably 
be doable, but fitting Racket on the device within the above specs is 
strongly preferable, for open source projects.


(In the open source application I have in mind, Racket would leave the 
TCP/IP to OpenWRT and the SoC, and spend most of its time doing a 
different kind of protocol through a special USB device.)


Neil V.

--
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.


[racket-users] Re: [racket] How to call a Julia function from DrRacket?

2015-05-02 Thread Geoffrey Knauth
On Friday, May 1, 2015 at 5:53:04 PM UTC-4, Greg Trzeciak wrote:
 It's an old thread but just in case someone is looking for the answer Julia 
 has (now?) C API:
 http://julia.readthedocs.org/en/latest/manual/embedding/

I hesitate to mention connecting Racket to Fortran some day but I wonder if 
that's ever been done.  Nine years ago when I worked on parallel programming 
enhancements to Octave, the free MATLAB-workalike written in C++, Octave leaned 
heavily on Fortran scientific libraries that had been highly optimized over 
decades.  Julia is also speedy doing math.

[ Neil:  Your Racket math code works great for me. ]

-- 
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.


Re: [racket-users] Re: [racket] How to call a Julia function from DrRacket?

2015-05-02 Thread Jay Kominek
On Sat, May 2, 2015 at 4:00 PM, Geoffrey Knauth ge...@knauth.org wrote:
 On Friday, May 1, 2015 at 5:53:04 PM UTC-4, Greg Trzeciak wrote:
 It's an old thread but just in case someone is looking for the answer Julia 
 has (now?) C API:
 http://julia.readthedocs.org/en/latest/manual/embedding/

 I hesitate to mention connecting Racket to Fortran some day but I wonder if 
 that's ever been done.  Nine years ago when I worked on parallel programming 
 enhancements to Octave, the free MATLAB-workalike written in C++, Octave 
 leaned heavily on Fortran scientific libraries that had been highly optimized 
 over decades.  Julia is also speedy doing math.

I wrapped a bit of Fortran recently:

https://github.com/jkominek/lbfgsb/

I had to learn more about the Fortran ABI than I cared to, but it's
doable. If you needed to do a lot of it, it would be worth creating
something like ffi/fortran/unsafe with FFI types that map a bit more
directly to Fortran's types, and wrapping _fun with something that
know's about Fortran's quirks.

-- 
Jay Kominek

-- 
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.