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

2015-05-01 Thread Greg Trzeciak
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/ On Thursday, January 30, 2014 at 1:58:29 AM UTC+1, E Comer wrote: > Hi Racket developers, programmers and users: > > > Is there a way to call a

[racket-users]

2015-05-01 Thread Leif Andersen
Hello All, Due to licensing concerns with using GNU's libreadline library for the readline collection, we are switching the library to libedit. This should not affect most people as libedit is included with OS X and most Linux distributions (and Windows never had libreadline to begin with). The r

Re: [racket-users] Re: [racket] Unsafe version of require/typed?

2015-05-01 Thread michael.ballantyne
To offer another speculative solution, perhaps there could be a variant of Typed Racket structs that are opaque to untyped Racket. If only Typed Racket code is capable of constructing these objects, the types of their contents needn't be checked as they pass between typed and untyped code. On F

[racket-users] Re: [racket] Considering backward-incompatible change to Plot

2015-05-01 Thread Neil Toronto
Your feedback and some more thinking about it has convinced me to not make the backward-incompatible change. I'm still going to make Plot objects (though not in 6.2). They'll just be created by different functions. Neil ⊥ On 03/18/2015 06:38 PM, Doug Williams wrote: You know I use it a lot.

Re: [racket-users] Re: [racket] Unsafe version of require/typed?

2015-05-01 Thread Neil Toronto
Submit a bug report, because that number is obviously false. (Or you've misunderstood how to use it, in which case the documentation probably needs work. :D) The problem is that first-order polymorphic contracts are O(n) in the size of the data. See my other, much, much longer reply to Matthia

[racket-users] Re: [racket] Unsafe version of require/typed?

2015-05-01 Thread Michael Ballantyne
I'm delighted to offer both. Here's a particularly pathological test case: https://github.com/michaelballantyne/typed-racket-performance Using a typed/racket/no-check variant of the tr-pfds package makes my untyped code run 1275x faster. The feature-profile tool reports that in the TR variant "Co

Re: [racket-users] Re: [racket] Unsafe version of require/typed?

2015-05-01 Thread Neil Toronto
Your preferences are my command. :) Actual Performance Bottlenecks (and Workarounds) (1) Plot's sending of `snip%` instances from untyped to typed code made them so slow that they were unresponsive. I got around it by making helper functions to create the snips, and inserting their

Re: [racket-users] google groups transition pretty much done

2015-05-01 Thread Greg Hendershott
Thanks John!!! > - google groups still quarantines some things I wish it wouldn’t (just > approved 2 posts from sketchy-sounding “McCarthy” person) Ah, so that explains the only glitch I'd wondered about: Seeing someone reply to a message I hadn't yet got, but which shows up a day or two later.

[racket-users] Re: [racket] Unsafe version of require/typed?

2015-05-01 Thread Matthias Felleisen
What I'd much prefer at the moment over speculative solutions are reports of actual performance bottlenecks. -- Matthias On May 1, 2015, at 1:09 AM, michael.ballantyne wrote: > I've started using Typed Racket several times recently only to flip the > switch to #lang typed/racket/no-check o