[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Anyone tried haskell-supercollider ?



so 4*30=120, that means c is 120x faster than sc lang ? wow. No wonder I'm having performance problems. I certainly don't want to back to c, that prospect gives me nightmires in the night...

see you, Miguel

Sciss escreveu:
yes, in general. a while ago when i was trying out groovy as an alternative, that was already 30x faster than pure sclang code, and groovy is known to be rather slow compared to java (where scala's performance is usually the same as java). code implemented in C primitives ran around 3 to 4 times faster than the groovy code, so i assume the equivalent in scala would not be much slower than C. of course the JVM is not a hard realtime system per default, so an important evaluation will be jitter under different GC modes and memory settings. the main plus is actually that you will _not_ need to switch to C code for performance critical things, and which composer wants to write C code in 21st century, when a language like scala is at least as expressive as sclang?

ciao, -sciss-


Am 29.07.2009 um 15:55 schrieb Miguel Negrao:

also I'm curious, would scala or haskel be faster than the sc language ?

Miguel Negrão

Thomas Girod escreveu:
Reading the thread on the problems on big projects with SC, someone talked about an alternative client based on the language Scala, which seems to be
interesting.
But I know that there is already something based on Haskell, which would
probably bring similar advantages, thanks to the expressiveness of functional
languages and specifically the type safety of Haskell.
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsc3
So I have a few questions : - has anyone tried hsc ? What are your impressions ? - If Sclang feels messy to you, does hsc feels less messy ? - Is haskell's expressiveness actually useful (ie. making big use of neat
  things such as folds and maps) ?
- Is haskell's state of the art type-system useful to avoid bugs when writing
  SC patches ?
cheers
Tom
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


--
Miguel Negrão // ZLB
http://www.friendlyvirus.org/artists/zlb/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/




--
Miguel Negrão // ZLB
http://www.friendlyvirus.org/artists/zlb/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/