Jump to content

What language should I use to create a software that run in both Linux and Windows?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
18 replies to this topic

#1
thameera

thameera

    Newbie

  • Members
  • Pip
  • 1 posts
Hi,
I need to make a typing tutor that would run on both Linux and Windows. I'm hoping to build it on Linux (Ubuntu). I have some knowledge in C++, C# and Java.
What languages should I consider for this project? I thought about writing to the Adobe Air platform but it seems Adobe Air is not yet much popular yet.

Thanks!

#2
oliver.rush

oliver.rush

    Newbie

  • Members
  • PipPip
  • 24 posts
Try Python. It's easy, fun, fast and deliveries a very well organized code.

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
You can use Java, since you already have some knowledge in it that would probably be your easiest choice. With C# you can use mono in Linux and .NET on Windows. However, this works with limited success.

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
C++ with wxWidgets, QT, or gtkmm would be a good option.
C# with mono may work for you.
Java can be very nice.
You may want to look into Lazarus (similar to Delphi) as well, if you like Pascal syntax.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
JCoder

JCoder

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 245 posts
Adobe AIR faces the same problems as Java + Swing 5 years ago, and even some more. It is slow, sluggish and eats tons of RAM (much, much more than Java these days). Their runtime is a decade after Java - poor GC, only interpreted mode (no JIT/HotSpot), code execution is about 15-60 times slower, no native code support.

I would recommend doing it in Java or .NET (though Java apps as of Java 6 tend to start much faster).

#6
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
.NET? For LINUX? Oh, God help us. Seriously, don't even suggest it. Python will certainly work, Java too, and on a website you can use flash or AJAX to have complete cross-platform capabilities. And as WP mentioned, C++ with cross-platform libraries will work.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#7
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
.NET works perfectly fine on linux thanks to the Mono project - its MonoDevelop IDE is very nice for a beta product, and its A. Portable (it even works on Pedigree :thumbup: ) B. stable C. Available in most distro repos.

#8
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
No I mean, WHY?? That's like getting a super efficient hybrid, and using it to haul a couple of huge flatbeds. .NET even loads a runtime for God's sake. To be more clear on the problem: I hate slow, inefficient ****.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#9
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
...have you ever actually tried mono...its very fast, easily comparable to Java, and usually faster.

#10
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
Oh. Easily comparable to... Java. Yeah, comparable to the SUV of programming languages.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz

#11
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
I do believe you're the victim of stereotyping.

#12
Aereshaa

Aereshaa

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 790 posts
No, I'm just used to C, the X-15 of programming languages, C++, the F1 racecar, and assembly, the NASA launch vehicle. C# is like the controls of a F1 racecar for a tractor.
Watches: Nanoha, Haruhi, AzuDai. Listens to: E-Type, Dj Melodie, Nightcore.
"When people are wrong they need to be corrected. And then when they can't accept it, an argument ensues." - MeTh0Dz