Go Down

Topic: Serial Monitor Deluxe 0.1 announcement (Read 604 times) previous topic - next topic

igendel

Can it run in Wine? An easy fix for Linux until it can be compiled.
I have no way of trying...
The program talks to an external hardware device, and from the little I know these can be tricky on Wine.
My Adventures in the Making:
http://www.idogendel.com/en

Robin2

It might run with Wine but I tried Wine a while back and got fed up with it - never again.

When I get my present project finished I might plagiarize your design and build a Python version.

...R

igendel

When I get my present project finished I might plagiarize your design and build a Python version.
Heh, that sounds almost like a challenge  ;)
It will take me some time to master Python and Python GUI enough for this, so... feel free  :)
My Adventures in the Making:
http://www.idogendel.com/en

Robin2

#33
Dec 14, 2014, 12:05 pm Last Edit: Dec 14, 2014, 12:06 pm by Robin2
Thinking more about this, why do you need to use your BealeBone to compile the Linux version. Can't you make a Linux version on a Windows PC and vice versa?

This business of multi-platform development is one of my hobby-horses. It should not be necessary to develop a program on the target device - though I accept that you need the target for testing.

As far as I know the Python code in this demo (which was written on Linux) will work on Windows.
And I know (because I did some testing) that a program that works on the JVM will run on another PC as long as it has the JVM installed.

I was wondering about a Python development system called Kivy which claims to be cross-platform. But it can only package Windows apps on a Windows machine which is not much use.

...R

igendel

Thinking more about this, why do you need to use your BealeBone to compile the Linux version. Can't you make a Linux version on a Windows PC and vice versa?

This business of multi-platform development is one of my hobby-horses. It should not be necessary to develop a program on the target device - though I accept that you need the target for testing.
That's exactly the issue. I may be able to cross-compile from Windows, but because the Linux version will have some code that's not in the Windows version, testing and debugging a program this way will be slow and painful.
My Adventures in the Making:
http://www.idogendel.com/en

Robin2

but because the Linux version will have some code that's not in the Windows version,
The nice thing about Java (and Python as far as I can see) is that those variations are hidden within the JVM and the Python implementation. I had assumed that the Pascal P-code served the same function.

...R

igendel

The nice thing about Java (and Python as far as I can see) is that those variations are hidden within the JVM and the Python implementation. I had assumed that the Pascal P-code served the same function.

...R
No, Free Pascal compiles to 100% native exectables. Many components, libraries etc. are OS-aware so you don't have to change too much in your source code, but when you have to do something OS-specific, like reading from the Windows Registry or /dev, and there's no existing library to encapsulate it, you have to code all the alternatives yourself.
My Adventures in the Making:
http://www.idogendel.com/en

Robin2

Free Pascal compiles to 100% native exectables.
Silly idea IMHO

...R

igendel

Silly idea IMHO
There are many factors that come into play when determining the silliness of an approach... native, bytecode, interpreted all have their proper contexts and uses.  For Pascal, I think the easiest answer would be that it was simply born too early to be anything else  :smiley-lol:
My Adventures in the Making:
http://www.idogendel.com/en

Robin2

Sorry for derailing the introduction of your very useful product. I did set out with the best of intentions to help make it available to Linux users.

...R

igendel

Sorry for derailing the introduction of your very useful product. I did set out with the best of intentions to help make it available to Linux users.

...R
On the contrary, it keeps this thread alive  ;D
I haven't said the last word about my program and Linux - it'll just take longer than I thought...
My Adventures in the Making:
http://www.idogendel.com/en

Go Up