Is linux any good for programming? [closed] - linux

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm thinking of buying a netbook with linux installed for school and at home, but i'm not sure. Because i want to use it for things such as word as well as doing some coding.
Is there a terminal in it?
I've also heard that it can't run .exe is this true?
P.s what are the best linux netbooks and operating system? Thanks!
I would like to program in:
Python
Javascript
Ruby
and also would like to do some web development

Programming
I think that Linux is really great for programming. Installing other libraries is really a breeze. I would wholehardedly recommend Linux for Programming in:
C
C++
Python
Java
PHP
JavaScript
Haskell
Lua
Lisp
You can also do C# with the Mono toolchain, but I am not sure how compatible that is with the C# and .NET from Windows.
On Windows, I find programming a pain. C does not really work (unless you use Visual Studio maybe), Java works pretty well. Python works also kind of well.
If you want to develop games that run with DirectX, Windows is your only option. OpenGL seems powerful as well, and that runs everywhere.
Word
Doing “Word” stuff should be okay with LibreOffice or OpenOffice.org. It might not be super compatible with Microsoft Word, but you should do fine.
Linux Distro
Go with Ubuntu, maybe Xubuntu or Lubuntu on a Netbook. If you do not like Ubuntu, openSUSE and Fedora would be my next recommendations.
Hardware
Try to get as much Intel hardware as possible, that usually works flawlessly.

All of them.
For newbies I recommend Debian or Ubuntu but it depends on personal preferences.
Ubuntu has app center where you can find a lot of useful apps. Ubuntu has also great support for graphic interface.
Try it for free here.

Related

What are limitation of Swift on Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Apple release swift as open source so,any IDE available to Implement on Linux?
As another user correctly stated, Xcode is an IDE, and Swift is a language. This is like asking: can we use Microsoft Visual Studio on Linux, since C and C++ can be used on Linux? Maybe in the future - yes, but not any time soon.
As for the limitations of Swift on Linux, I think the most important ones to note are:
1) The port of Swift to Linux is brand new. There are bugs. In fact, some people can't even use it on Linux as advertised. I could, but this is probably dependent on the specific installation of Linux. Mine is Ubuntu 14.04, but for others it failed on the same OS, Ubuntu 14.04. Not good.
2) For now we cannot use Swift on Linux to write apps for iOS and other Apple platforms.
3) A lot of frameworks/software libraries that can be used to program in Swift on Mac OS X using Xcode won't be available on Linux.
Swift on Linux is, as I understand it, intended for people to learn this new high-level cool language, so they can eventually start programming on Mac OS X or write Linux applications faster, taking advantage of the Swift language features.

Porting C++ OpenCV program to Ubuntu [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have a complete program that uses opencv which I have written in C++ on Microsoft Visual Studio 2010. I have now been asked to assess the possibility of getting the program running on a Ubuntu server, of which I have no experience.
As such, my questions are:
1 - Does any one have a good tutorial for porting applications from C++ Windows to Ubuntu?
2 - on a scale of 1-10 (1=easy) how difficult would this be?
3 - Ubuntu will be running on a server, does this make a difference to OpenCV?
I have had zero experience with Ubuntu so a step by step guide would be really great if anyone can help!
many thanks for your help,
Kay.
If you have written your program in standard C++, you will have no problem compiling. The problem might be for example in linking the libraries you are using. Depending on the complexity of your project, you might have to find an adequate building system, like cmake. It's better if you implement the latter first in Windows. Did you build yourself OpenCV? Do the same for Ubuntu, DO NOT USE the distribution OpenCV packages available with Ubuntu.
If you have somebody that knows about Ubuntu assisting you, it will be much smoother.
No difference, if you use it like a normal work station. If you access remotely, you might have to solve some visualization issues.

Porting an application from Linux to Windows [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have one application, which has been developed on Linux (gcc based), I need to port the entire application to Windows.
Can you suggest me which tool/interface should choose to build the environment?
If I choose Visual Studio, will it support GCC compiler tool chain or which one is suitable among MinGW and Cygwin ?
Please give me some Inputs and the challenges will there while porting.
Thanks...
I would recommend an abstraction layer for all your OS-dependent routines. You then provide two implementations of those routines. One for Linux, one for Windows, and you compile one or the other depending on the current platform. You should keep the portable code well separated from the platform-specific code.
Of course you could also use an already existing platform abstraction layer, like Qt's Core module (which provides abstractions for threading and I/O) or the Network module, which provides portable networking. Of course I cannot determine whether this is suitable in your case or not, since I don't know what kinds of system calls you need or if C++ is even acceptable, but it might be worth looking into it (or other similar portability libraries.)
As a compiler, you can actually build the Windows binaries under Linux. I've been doing that for a long time now, since I'm not a Visual Studio kind of guy. I prefer the likes of CMake or Autotools. For that, I recommend MXE.
Well, GCC is just the copiler. I assume they are just c or cpp files so just compile them in windows with a windows compatible c/cpp compiler.

A linux version of cygwin? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm looking for a linux program that is simple and text-based, like cygwin, thats actually linux. I feel to much is missed out by cygwin like nano syntax highlighting and general linux programs. Is there any thing that runs with command prompt, like cygwin, that is a full text-based linux OS.
if you want linux without any gui, simply don't install any gui. the easiest way is to use any 'server oriented' distro, like Ubuntu Server, or CentOS. If you want to do it on Windows, use a virtual machine, like VirtualBox, or try coLinux, which runs the linux kernel as a windows app.
I don't know anything about nano syntax highlighting, but cygwin packages aren't very custom, there's a systems API abstraction layer (cygwin1.dll) that gives you Linux specific APIs. There are discrepancies in cygwin, for example vim by default runs with syntax off and nocompat unset... which sounds a lot like your issue. I've written some very low level programs under cygwin, using pthreads and such and never encountered breakage when compiling on Linux Linux. There are a lot of essentials missing in the default install of cygwin, so I'd suggest going through the package list and seeing what you need. Also don't forget the linuxutils package which includes such essentials as more.

What is a good IDE for working with shell-scripting in a Windows environment? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have already learned shell-scripting in Linux environment.
However, now I am unable to install Linux on my PC, but I need to practice shell-scripting.
Currently, I have Windows XP installed on my PC. Is there any known IDE which can help me practice shell-scripting programs in windows environment?
I found a cool Online IDE, which will perhaps help me to write simple bash scripts.
Here it is: Ideone.com
Shell scripting in windows is substantially different from linux - the syntax is pretty much completely different, and cmd.exe is simply a totally different environment than bash, csh or ksh. I'd expect your exam to be about unix/linux shell scripting, not cmd.exe.
If you want to get close, cygwin might do the trick; it provides a basic UNIX layer for windows, giving you most of the UNIX command line's functionality. It's still not the real thing though; also, downloading and burning a live CD and booting it is less of a hassle than installing cygwin (and getting it to work properly).
I'm also curious how your partition table can be damaged in a way that prevents you from installing Linux, yet allows you to boot into XP flawlessly.
If you are using eclipse for other programming language like JAVA, C++, PHP, I'd recommend this plugin
There is a fact as to "IDE for scripting languages" that the features that other IDEs for compiled and object oriented languages provide are based on the compiler of the programming language abilities and object oriented paradigms.... Support from IDE for scripting language is not so helpful.
The easiest way would be either linux LiveCD or virtual box, you shouldn't have problem with both alternatives. With Linux Bash/shell you'll get a support you need for learning shell scripting, like shell debug mode with verbose output (run with -x -v parameters) where you can see how the code is being interpreted etc.
If your computer has the juice, you may want to download Oracle Virtualbox (it's free!) and install one of the many Linux distros (Ubuntu is probably the best) as a virtual machine. That way you have a real environment without having to leave your primary OS.
As far as an IDE, if you're simply looking for syntax highlighting I believe gnome's gedit (which should come with Ubuntu) will do syntax highlighting against .sh scripts. I doubt something more robust exists for this purpose (i.e. with code completion and such).
Try CYGWIN. This project is intended to recreate UNIX environment in Windows.

Resources