4 ms·
The concurrent by default paradigm looks like it could be really useful for some cases. Does anyone know of any more well-used languages that support it?
by Blahah 13y ago
The concurrent by default paradigm looks like it could be really useful for some cases. Does anyone know of any more well-used languages that support it?
- maaaats 13y agoIt's a "well-used language" in academic contexts, but probably not exactly an answer to your question ;) Anyways, in OZ[1] you can just add thread <x> end around code x, and it's concurrent. It will wait for all bindings to be resolved before continuing. It's a pretty cool language with a lot of paradigms one can easily try out. [1] http://en.wikipedia.org/wiki/Oz_%28programming_language%29#Dataflow_variables_and_declarative_concurrency http://en.wikipedia.org/wiki/Oz_%28programming_language%29#D...
- simias 13y agoAs I mentioned in my other comment Verilog and VHDL are "concurrent by default" since that's how hardware works anyway. If you want to experiment with them you don't need an FPGA, you can just start with a simulator such as Icarus Verilog[1] and a waveform viewer like gtkwave[2] and get a feel of the language. There are a bunch of tutorials on the net. [1] http://iverilog.icarus.com/ http://iverilog.icarus.com/ [2] http://gtkwave.sourceforge.net/ http://gtkwave.sourceforge.net/
- GotAnyMegadeth 13y agoVerilog is Turing complete and can do standard IO, so you probably don't even need a simulator/wave viewer.
- simias 13y agoYeah, but using waveforms is half the fun! :) Also, debugging verilog using only $display doesn't sound very fun...
- krupan 13y agohttp://www.edaplayground.com/ http://www.edaplayground.com/ is a great way to play with hardware description languages too. You don't need to install anything.
- Serow225 13y agoIs Labview concurrent by default?
- mjcohen 13y agoYes. I enjoyed watching LV code execute graphically.
- jberryman 13y agoHaskell's Par monad gives you a nice eDSL that lets you lay out your data dependencies and have things evaluated in parallel http://hackage.haskell.org/package/monad-par-0.3.4.6/docs/Control-Monad-Par.html http://hackage.haskell.org/package/monad-par-0.3.4.6/docs/Co...