Better IDE not build using Java in Linux? - eclipse

First of all I love Eclipse but I'm not satisfied with its performance in Linux (Ubuntu) - It is CPU intensive and not responsive enough.
My question is if there is an IDE with most of Eclipse's functions but not built in Java. (More than a Notepad, but not a command line tool like vi or emacs).
Update: I'm looking for an IDE that I could use for Java, PHP, and Python development.

There's KDevelop, a QT4 based IDE that works on all platforms for C++ development. MonoDevelop is a .NET IDE for Linux & other platforms. Komodo, a commercial option, is available for Linux and works well. It's not built with Java, so you will save several MB of RAM allocation. :) It's fast. wxStudio is an interesting option, if you choose to use the wxWindows libraries. There's also Code::Blocks for C++ work. Sun even provides NetBeans, which has plugs-ins like Eclipse for other languages, yet runs a tad faster than Eclipse.
It really depends on the language you're developing in. Honestly, the majority of IDE features you're likely seeking are already natively available in Vim & Emacs... code completion, jumping to definition, breakpoints, etc. are Vim specialties. If you really want a GUI, then the languages you're using are a really important factor.

Related

Eclipse, GCC, installing them twice?

I am thinking of installing Eclipse for developing STM32 programs (I have a question about this that I will post later). In the instructions it says I have to install:
the IDE for C/C++
GNU ARM Eclipse Plug-ins
GNU GCC ARM tool-chain
among other tools..
However, I am also thinking of installing e2studio for developing Renesas programs. You can see about this Here. There you can see that this is "based on Eclipse CDT" (what is the difference between this CDT and the IDE?) and that it also uses Plug-ins like GNU Tool & Support Here.
My question is, is this possible? Do I have to install them separately? (I guess so). Will the GNU tools will also be installed twice??
(I am using a windows10 machine)
Thanks in advance
CDT is dedicated to C/C++ programming. Actually I personally prefere to have separate eclipse installations for different families of uC. Why? Because it is much easier to manage updates and to keep my work in the correct order.
For STM32 I advice (I think, you are a novice user of Eclipse & ARM toolchains) to install OpenSTM32 (yo have a straightforward installer). It imports projects from CUBEFX & MX which gives you an easy way to import examples & initialisation code from Cube. I personally do not use HAL libraries but as I know I am a minority.
However, I am also thinking of installing e2studio for developing
Renesas programs. You can see about this Here. There you can see that
this is "based on Eclipse CDT" (what is the difference between this
CDT and the IDE?)
Eclipse CDT is an open-source general-purpose C and C++ IDE.
e2studio is one of several software packages that extend CDT with (most likely proprietary) plugins geared towards a more specific market (in this case, Renesas programs).
My question is, is this possible?
Yes.
Do I have to install them separately? (I guess so).
Yes.
Will the GNU tools will also be installed twice?? (I am using a windows10 machine)
You can certainly share a single installation of a toolchain between two installations of CDT, if both of them need the same toolchain (in terms of version and architecture). I don't know enough about STM32 and Renesas to tell you if they use the same toolchain.

I am a long time Ubuntu Linux user (a developer), what are the benefits of using Open Solaris

I am a web developer (J2EE application developer) and just want to expand what tools I use. I want to use Open Solaris for my personal projects. I have nothing against Linux and It looks like a lot of the same tools are on both systems.
Have you jumped to Solaris, was it a good experience?
DTrace, zones, switch between 32 bit and 64 bit mode with a single GRUB switch, ZFS, stable libraries (I can't really emphasize that one enough). Solaris 7 software generally runs on OpenSolaris, otherwise known as Solaris 11. glibc changes between minor kernel releases.
Xen is integrated pretty tightly, and setting up lx zones or virtualization to keep your Linux environment is dead simple.
OpenSolaris now has /usr/bin/gnu, where all you favorite utilities can be found.
Expect, though, to end up fighting the ./configure && make && make install cycle a little bit. A lot of developers assume you're running Linux, and don't prepend -m64 for Solaris, among other things. Compiling wxPython is an adventure, for instance.
Edit: I forgot to mention one (possibly important) thing to you. Package repositories aren't nearly comparable. It's neat that pkg image-update (equivalent to `apt-get update && apt-get upgrade && apt-get dist-upgrade) makes a ZFS snapshot that you can get back to via GRUB at any point, but you have nowhere near as many packages in IPS as apt. All the biggies are there, though.
If you're planning to switch, Sun's documentation is fantastic, and the BigAdmin tips of the day are worth reading for a while to get you up to speed.
For J2EE work per se, probably not much. As a more general developer you may appreciate DTrace. As an admin you'll love ZFS & zones. You'll hate the outdated utilities (mostly user-land) though. FreeBSD is a nice in-between Linux & Solaris though. :)
I guess the underlying OS doesn't matter much for a J2EE developer, as long as you stick to the java platform and don't make use of native libraries through JNI. Having said that, the most important factors to choose an OS would be cost and performance. Now, both Linux and OpenSolaris are open source and free to use, but I'm not sure about using OpenSolaris in commercial deployments. I also don't know how java performance differs from one to the other, but I'm strongly convinced that Sun's implementation for Linux is damn good.
Note: I've never used OpenSolaris and I use mostly Linux.
I'm not certain from your question if you mean for your development desktop or your hosting solution but I can take a crack at both. About six months ago I got hold of a free year of hosting on OpenSolaris running GlassFish. I hadn't used Solaris before and thought it would be a good learning experience. I built a test server, installed OpenSolaris and GlassFish, and used it to practice. It was very strightforward to configure GlassFish and deploy applications. Managing services in OpenSolaris is also simple once you read the right documentation. I like OpenSolaris and I like GlassFish.
Obviouly, I found similarities and differences from previous experience with Java application servers and operating systems. However, I thought so highly of the OS that I switched my desktop over last month. It has been a good experience.
Eclipse is not available on OpenSolaris, unfortunately. If you are an Eclipse user you would have to migrate to NetBeans.

Cross platform project automation

The web shop where I work we do both .Net and PHP/Linux development. We'd like to start automating a lot more of our deployment processes using a common system that can be used for both. What would you recommend as a good common scripting language or automation system (like Ant or Maven) that works well for both .Net and Linux development?
I have no experience with Maven, but we've managed to get Ant to do everything we've wanted on multiple platforms, just by virtue of the fact that you can extend it with any Java program to do special tasks not included with the Ant application itself.
And then Java can, if necessary, call any external program you want to by using Runtime.exec(). Loses a bit of the portability but it was required for some command-line tools under both Linux and Windows.
You may want to see how Perl does cross platform automation. The design for Perl6, seems to be a bit better designed, but the Perl5 design has had many years to develop.
Perl has been ported to many different platforms, not just Linux and Windows.
You may get some mileage out of Capistrano. It is rails centric but it is pretty general purpose, and I believe it has been extended to do other things also. Not sure how well it plays with Windows and .NET, but worth a look.
You can develop .net on linux using Mono.
On that linux server you can use both .net and php.

Are there any USB stick runnable, no-install, cross platform software frameworks (with GUI)?

Does anyone know of a good software development framework or similar that has the following properties?
Cross platform: it should be runnable on XP, Vista, OSX and common versions of Linux (such as Ubuntu and Kubuntu).
No installation: Be able to run the software from a USB stick without having to copy anything to the host machine.
Have good GUI support (this is why this question doesn't give a suitable answer, as far as I can tell).
Permissive licensing such as LGPL or BSD or such.
Among the softer requirements are having a set of abstractions for the most common backend functionality, such as sockets, file IO, and so on (There is usually some platform specific adaptations necessary), and supporting a good language such as Python or C++, though it is usually fun to learn a new one (i.e. not perl).
I think possible candidates are Qt 4.5 or above (but IFAIK Qt software will not run on Vista without any installation(?)), some wxWidgets or maybe wxPython solution, perhaps gtkmm. The examples I have found have failed on one or another of the requirements. This does not mean that no such examples exist, it just means that I have not found any. So I was wondering if anyone out there know of any existing solutions to this?
Some clarifications;
By "framework" I mean something like Qt or gtkmm or python with a widget package.
This is about being able to run the finished product on multiple platforms, from a stick, without installation, it is not about having a portable development environment.
It is not a boot stick.
It is ok to have to build the software specifically for the different targets, if necessary.
The use case I am seeing is that you have some software that you rely on (such as project planning, administration of information, analysis tools or similar) that:
does not rely on having an internet connection being available.
is run on different host machines where it is not really ok to install anything.
is moved by a user via a physical medium (such as a USB stick).
is run on different operating systems, such as Windows, Vista, Ubuntu, OSX.
works on the same data on these different hosts (the data can be stored on the host or on the stick).
is not really restricted in how big the bundled framework is (unless it is several gigabytes, which is not really realistic).
It is also ok to have parallel installations on the stick as long as the software behaves the same and can work on the same data when run on the different targets.
A different view on the use case would be that I have five newly installed machines with Vista, XP, OSX, Ubuntu and Kubuntu respectively in front of me. I would like to, without having to install anything new on the machines, be able to run the same software from a single USB stick (meeting the above GUI requirements and so on) on each of these five machines (though, if necessary from different bundles on the stick).
Is this possible?
Edit:
I have experimented a little with a Qt app that uses some widgets and a sqlite database. It was easy to get it to work on an ubuntu dist and on osx. For windows xp and vista I had to copy QtCored4.dll, QtGuid4.dll, QtSqld4.dll and mingwm10.dll to distribution directory (this was debug code) and I copied the qsqlited4.dll to a folder named "sqldrivers" in the distribution directory.
You mention wxWidgets but dismiss it as failing at least one of the requirements.
I don't know what your requirements are and in what way wxWidgets wouldn't work for you, but IMO it does fulfill them:
Cross platform: it should be runnable on XP, Vista, OSX and common versions of Linux.
It does run on those platforms, but "common versions of Linux" isn't good enough, as you can never be sure that the necessary GUI libraries for wxGTK (which should not be linked to statically) will be installed. This is however a problem for other solutions as well, unless you plan to put everything onto the stick.
No installation: Be able to run the software from a USB stick without having to copy anything to the host machine.
See the previous point, you would need to specify which libraries are needed on Linux. Also you could specify at build time not to use some of the system-provided libraries (for example for graphics, compression, regexes) but to use the wxWidgets-internal libraries instead.
Have good GUI support
Check.
Permissive licensing such as LGPL or BSD or such.
Check. You can statically link wxWidgets into your application too.
supporting a good language such as Python or C++
Supports both, and there are bindings to other languages as well.
having a set of abstractions for the most common backend functionality, such as sockets, file IO, and so on
It does have some abstractions like that, but you can link to other cross-platform libraries as well.
We use wxWidgets for FlameRobin, a graphical administration program for the Firebird SQL server. It has active ports to Windows, Linux and Mac OS X, and has been compiled for at least some BSD variant and Solaris as well. It definitely runs from a stick on Windows, I haven't tried with Linux or Mac OS X, but I don't see why it shouldn't there too.
Java.
It has GUI support.
It provides your network/file/etc. abstractions.
It is cross-platform. Most platforms you can think of have a JRE available.
No need to install a JRE. Most users probably already have one, and if not, you can run the appropriate JRE right off the stick.
You can provide several startup scripts for various platforms to run the app under the appropriate JRE.
Something else to consider is HTML+Javascript. :D
You can look at Mono it cross platform, has GUI (GTK+, or Winforms 2.0) and I can execute code without installing.
This might not be crossplatform, but is maybe even better, it dont even use the platform : linux on a stick :-)
The subtitle is
Take your Java workspaces wherever you go on a USB key
Here with java and eclipse, but nothing stops you there of course.
http://knol.google.com/k/inderjeet-singh/installing-a-ubuntu-hardy-heron-java/1j9pj7d01g86i/2#
Well, it depends on what you mean by 'package'. Kylix came close to being such a thing. It was QT based, and it allowed you to write once and compile for Windows + Linux. However, it was not an open source solution.
I asked a similar question in this link
http://www.24hsoftware.com/DevelopersForum/CrossPlatform-C-Library.html
and the best asnswer seems to be QT.
I have started using QT, but it is not as easy as I expected mainly due to deployment problems due to the DLL hell, Winsxs hell and manifest hell.
Tclkit is a single-file, self-contained Tcl/Tk system. The mac version I have is about 3.8 megs. You can get a version for just about any modern OS. I carry around a thumb drive that has mac, windows and linux binaries so I can run my scripts on any platform. No install is required, just copy one file wherever you want.
The most recent versions of tcklit use native, themed widgets (though, on *nix there really isn't a single "native" set of widgets...)

What O/S do you prefer for web development, and why? [closed]

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 9 years ago.
Improve this question
I consider myself fairly versatile when it comes to O/S selection. I have used DOS/Windows PC's all my life, switched my main laptop to Mac two years ago, and have used numerous flavors of Unix/Linux/BSD while studying for my Comp.Sci. degree.
However, as I'm trying to improve my development environment, I'm starting to wonder if I'd be better off scrapping the Macbook for a PC with a different O/S flavor (to support a different set of tools and IDEs).
What O/S do you prefer for (web) development, and why? (prefer answers from people who have real-world experience coding on multiple platforms)
(Note: I am aware of this question discussing client vs. server O/S - what I'm interested is the whole development environment, and not limited to the 'Windows crowd')
It's really going to depend on the type of web development you want to do. If you are doing PHP (or LAMP, Perl, Python, Ruby), then Linux is probably the best way to go. If you are looking at doing .Net development, then Windows would be your best bet. I think if you're on Java, then Windows or Linux would be equally good.
For LAMP development on Linux, you are probably best going with Netbeans or Eclipse for your IDE. Personally I prefer Netbeans, but it depends on which you are more comfortable with. If you want to pay for an IDE, Zend is one of the better options. As far as distros go, any popular distro should be fine. I hear Ubuntu is pretty popular although my personal favourite is Mandriva.
You don't need to scrap your Macbook to use different operating systems. Many developers run multiple OSs without giving up the Macbook experience.
I prefer my Macbook and despise the fact that I have to go to work and use a Windows environment (I keep hitting the ALT key looking for COMMAND!). Ruby and rails development is easier because most of the developers are using OSX and therefore any help you need is tailored for your development environment, it just doesn't work as smoothly or as fast on Windows.
I haven't run into anything I've got in my work environment (Emacs, IntelliJ etc.) that I can't get for Mac and it even looks a whole lot better. Ubuntu even looks better and is a lot more reliable than any Windows system I've ever used.
If you're locked into the .Net world, then Windows is really the only choice.
Otherwise, the "big name" web environments (Apache, Tomcat, Spring, Glassfish, Rails, JBoss, Grails, Weblogic, ...) are all commonly deployed on some flavor of *nix. A Linux-based laptop gets you max geek cred; OSX gets you a full-fledged Unix environment with a very polished UI and less do-it-yourself maintenance.
If you're doing Java, then Eclipse, NetBeans, and IntelliJ will run on all of the above (Windows, Linux, Max), so you can choose based on what else you want to have in your environment.
I got 3 systems,
Windows XP, Windows 7 RC, Ubuntu 9.04
Windows Vista
Mac OS X
Mac OS X would be my choise, since you can get good enivroment to work on. I got Adobe Create Suit and Textmate, they aren't free. Free alternatives GIMP/Inkscape and many free text editors are available for mac.
LINUX is fine but Adobe suit doesn't work on it, you have to use GIMP and Inkscape, obviously they are nowhere near Adobe Photoshop and Illustrator. Although if you aren't interested in using Adobe CS you can use Ubuntu distro which is easier than other LINUX distro and quiet popular, so you won't have any problem finding solution. Eclipse would be my text editor if I use LINUX.
Windows is another good choise if you are familier with Windows but risk of losing important files which took you hours to develop ;-) , you know its main problem is Virus and spywares. If you can get decent Anti-Virus (like free Avast ect) you can live with it.
In my opinion, there is "nearly" no reason to choose Linux over OSX for web development. OSX is unix'ish, so you can run almost any server on OSX almost the same way as on Linux.
One big reason to choose OSX is the accessibility and comfort. I do not know any other operating systems that are nearly as enjoyable to work with, as OSX.
And no, I'm not an Apple fanboy. :)