3 ms·
Well, I would say this is a pretty positive post for Python as well. Only 8x slower than OCaml... Not bad for an interpreted dynamically typed language. This m
by AlexanderDhoore 12y ago
Well, I would say this is a pretty positive post for Python as well. Only 8x slower than OCaml... Not bad for an interpreted dynamically typed language.
This makes a good case for prototyping in Python and only moving to something else when performance becomes an issue.
- pjmlp 12y agoHindley Milner type system makes strong typed languages also quite pleasant to use for prototyping. I mentioned UNIX, because on Windows my to go language for private scripts is F#.
- herokusaki 12y agoInteresting. Do you find it more or less terse than PowerShell?
- balakk 12y agoIt can be as terse as you want it to be. The bigger virtues are its speed, language features, and the environment. F# interactive is what powershell/ISE wants to be, when it grows up and drinks the magic potion of awesomeness.
- pjmlp 12y agoI use both actually. F# scripts for my own stuff, Powershell when those scripts need to be shared across the team or I need to interoperate with third party cmdlets. It is quite terse, specially because Powershell has a bit of VB flavour to its syntax, mixed with attributes everywhere. I rather use the cleanliness of the ML syntax, if possible.