Gour wrote on 2/2/19 4:04 AM:
I've to decide between Racket and Julia as language of choice for writing 
desktop app. Racket's advantage is that its GUI support is provided out of the 
box, while in Julia I'd probably have to use Gtk.jl as the best supported 
package since I do not want to use Electron or some other JS/browser-based 
things.

That's an unusual shortlist of candidates.  Does this desktop app do heavy numeric computation?  Or is your organization already invested in Julia for numeric, and you'd like to also use it for GUI if you can?

Maybe a year or two ago, I asked about Julia for systems-ish programming (like low-level operating systems code, and high-performance server I/O), and, at the time, it sounded like the performance for that was not there -- Julia was initially focused on numeric performance.

If you want to evaluate Racket for desktop GUI apps, I suggest:

1. Try DrRacket on all your platforms, and see how responsive and how platform-native-looking the widgets are on those.  Note that a few things DrRacket does are more compute-intensive than most desktop apps (such as evaluating child programs with debugging info), but you can get an idea.

2. Look in the Racket documentation for what the cross-platform GUI toolkit (and the separate "Framework" stuff) provide.  They provide the usual basic widgets, plus some non-usual DrRacket editor functionality, but they don't have as much widgets as some toolkits have (so make sure it has what you need, or be prepared to code what's missing).
https://docs.racket-lang.org/gui/Widget_Gallery.html
https://docs.racket-lang.org/gui/Windowing_Classes.html
https://docs.racket-lang.org/framework/index.html

If you have numeric performance requirements (if that's why you're looking at Julia), are those functions covered by particular libraries you might call from Racket from C, Fortran, or R?  Or do you want to try coding those functions in Typed Racket?

Leaving aside other language features' pros/cons, I was a bit surprised when someone 
in Julia's channel responded to me with: "Racket is pretty amazing, but I 
stopped looking into it after I figured, that it can't really be made fast 
language...

That's when someone says "Challenge accepted." :)

But seriously, the question then is "Fast *for what*?"

BTW, I've run Racket on old WiFi routers and old smartphones:
https://www.neilvandyke.org/racket-openwrt/
https://www.neilvandyke.org/postmarketos/

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

Reply via email to