If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Ruby in Stone
8 posts
• Page 1 of 1
Ruby in Stone
With FlowStone V2 coming any day now, you get the whole Ruby programming language built inside FlowStone!
This will mean that you can code your own low-level modules if you like. These can be from simple equations up to full windows programming with external dlls, & APIs etc. You can even use ruby to draw inside FlowStone, which is an easier way to manage co-ordinates etc. Ruby in Stone is also very accurate timing wise as it uses multi-media timers!
There are a few examples already posted in the examples area (Although you will need to wait for V2 before you can open them!):
http://www.dsprobotics.com/support/viewforum.php?f=63
If you want to start learning Ruby here is an on-line user guide:
http://www.rubyist.net/~slagell/ruby/index.html
For those of you that don't know Ruby, it is one of the fastest growing programming languages as it is simple and elegant with a much higher productivity than C++ or C#
This will mean that you can code your own low-level modules if you like. These can be from simple equations up to full windows programming with external dlls, & APIs etc. You can even use ruby to draw inside FlowStone, which is an easier way to manage co-ordinates etc. Ruby in Stone is also very accurate timing wise as it uses multi-media timers!
There are a few examples already posted in the examples area (Although you will need to wait for V2 before you can open them!):
http://www.dsprobotics.com/support/viewforum.php?f=63
If you want to start learning Ruby here is an on-line user guide:
http://www.rubyist.net/~slagell/ruby/index.html
For those of you that don't know Ruby, it is one of the fastest growing programming languages as it is simple and elegant with a much higher productivity than C++ or C#
- Embedded
- Posts: 143
- Joined: Sat Oct 30, 2010 1:42 pm
Re: Ruby in Stone
Nice post Embedded!
One thing that might be noted is the fact that unlike C and C++, Ruby is interpreted rather than being compiled.
I'm guessing compiled FlowStone 2 execs will have to make external calls to a Ruby interpreter...or will FlowStone be able to compile Ruby scripts internally....wouldn't that be science fiction?
Cheers
One thing that might be noted is the fact that unlike C and C++, Ruby is interpreted rather than being compiled.
I'm guessing compiled FlowStone 2 execs will have to make external calls to a Ruby interpreter...or will FlowStone be able to compile Ruby scripts internally....wouldn't that be science fiction?
Cheers
- AnthonyTower
- Posts: 29
- Joined: Wed Sep 01, 2010 3:22 am
Re: Ruby in Stone
I've been lucky enough to see the new version, it's awesome.
There is no compiling as you say the code runs as you write it, as does the normal FlowStone stuff. When you make an EXE it does need the Ruby DLL installed, but this is packaged up inside the EXE and is automatically installed transparently when you run the EXE.
Cool...
There is no compiling as you say the code runs as you write it, as does the normal FlowStone stuff. When you make an EXE it does need the Ruby DLL installed, but this is packaged up inside the EXE and is automatically installed transparently when you run the EXE.
Cool...
- Embedded
- Posts: 143
- Joined: Sat Oct 30, 2010 1:42 pm
Re: Ruby in Stone
Wow it's just been released!
Download FlowStone V2 with Ruby here:
http://www.dsprobotics.com/download.php
Download FlowStone V2 with Ruby here:
http://www.dsprobotics.com/download.php
- DSP
- Posts: 150
- Joined: Fri May 14, 2010 10:55 pm
Re: Ruby in Stone
It looks interesting, but the update fee is not so small for having the ruby module which is related to an open source and free scripting language such as ruby.
I would use it to interact with databases and web applications, but i have to be sure that i can use all the ruby funcionality and that i can add gems as i do on ruby based servers.
Some example in that direction will be very useful to decide for the update.
In the meantime i'm reading the ruby chapter of the manual which doesn't seems to be focused on web and network interaction.
I would use it to interact with databases and web applications, but i have to be sure that i can use all the ruby funcionality and that i can add gems as i do on ruby based servers.
Some example in that direction will be very useful to decide for the update.
In the meantime i'm reading the ruby chapter of the manual which doesn't seems to be focused on web and network interaction.
- sal
- Posts: 42
- Joined: Thu Aug 19, 2010 4:56 pm
Re: Ruby in Stone
Embedded wrote:I've been lucky enough to see the new version, it's awesome.
There is no compiling as you say the code runs as you write it, as does the normal FlowStone stuff. When you make an EXE it does need the Ruby DLL installed, but this is packaged up inside the EXE and is automatically installed transparently when you run the EXE.
Cool...
Wow, this is even more incredible than I thought, eliminating 99% of potential headaches when distributing the compiled exe to an end-user.
I'm sure glad I upgraded !!
FlowStone 2 + 2012 = The Sky's The Limit
Thank you DSP!!!
Cheers
- AnthonyTower
- Posts: 29
- Joined: Wed Sep 01, 2010 3:22 am
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 68 guests