A nice little article on beginning with Vim.
A blog to record helpful tips/hints/tricks/etc. that I come across during my scientific career regarding science, computers, and research. I love learning and disseminating Knowledge.
Showing posts with label Vim. Show all posts
Showing posts with label Vim. Show all posts
Thursday, March 1, 2012
Tuesday, November 8, 2011
Some general information and links on C/C++, Fortran, and Java and an IDE or editor-compiler combination
While exploring new computer programming languages (as of right now I am fairly good with MATLAB/Octave m-file programming; I did take a class on C programming back in college, but I have rarely used it so I pretty much know nothing about other languages; I feel it is important to try to learn as many as possible because this will help with my general understanding of computer programming and it will be a great marketing tool for job searches), I have come across some interesting and helpful links which include forum discussions and other websites. For this post I am going to put up some links I have found while searching topics such as: best IDE in Ubuntu 11.10, best IDE in linux or Ubuntu 11.11 for C/C++, Fortran, and/or Java, Eclipse IDE, etc. This post is going to strictly deal with C/C++ and IDEs.
There seem to be many options for a computer language editor and compiler for Ubuntu. The first is using a text editor such as gedit, jEdit, or the many others available in Ubuntu to write the program, then compile the program in the terminal using GCC. The second route is to use an all in one package to write and compile usually called an IDE. As of now I am trying out Geany. Many others include Eclipse, Emacs, Vi, Code::Blocks, Code Lite, Anjuta, etc. There is also the option to download and install the non-commercial Intel compilers.
Here is a link from the Ubuntu Community site on how to install and a little about GCC. https://help.ubuntu.com/community/InstallingCompilers
Link and information on GCC, the GNU Compiler Collection. http://gcc.gnu.org/
GCC has support for
C http://gcc.gnu.org/c99status.html
C++ http://gcc.gnu.org/projects/cxx0x.html
Fortran http://gcc.gnu.org/fortran/
Java http://gcc.gnu.org/java/
and a few others.
Here is an Ubuntu Forum thread over a C/C++ IDE for commercial use. Even though they mention commercial, there is still some interesting discussions on Eclipse and a few other IDEs. http://ubuntuforums.org/showthread.php?t=172849
Some links on how to run and compile a C/C++ code on Ubuntu
http://blog.sudobits.com/2011/05/08/how-to-compile-and-run-c-c-plus-plus-program-on-ubuntu-11-04/
http://www.wikihow.com/Compile-a-C/C%2B%2B-Program-in-Ubuntu
http://www.ubuntugeek.com/how-to-install-c-and-c-compilers-in-ubuntu-and-testing-your-first-c-and-c-program.html
Another Ubuntu Forum thread on C/C++ editor and compiler. http://ubuntuforums.org/showthread.php?t=1724796
Another Ubuntu Forum discussion on editors and compilers.
http://ubuntuforums.org/showthread.php?t=1580148
Ubuntu Forum thread where I found out about Sun Studio, now Oracle Solaris Studio, and KDevelop. http://ubuntuforums.org/showthread.php?t=463955
Oracle Solaris Studio http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html
Discussion from Stackflow on Fortran and IDEs. http://stackoverflow.com/questions/3473854/best-fortran-ide
An interesting discussion on KDev and g77 for a Fortran compiler and IDE. http://ubuntuforums.org/showthread.php?t=1094563
Some comments from the above thread link.
Intersting discussion on Fortran IDEs and compilers. http://mandrivausers.org/index.php?/topic/15152-what-ide-is-best-for-fortran/
http://www.linuxquestions.org/questions/linux-newbie-8/how-to-build-a-fortran-project-in-kdevelop-876096/
http://www.linuxquestions.org/questions/linux-software-2/intel-fortran-compiler-under-kdevelop-240242/
Ubuntu Forum FAQ's on programming and such. http://ubuntuforums.org/showthread.php?t=1006666
Ubuntu Forum on programming guides, has the above FAQ's thread and many more useful tools and information. http://ubuntuforums.org/showthread.php?t=1766253
I will try to update this post or add others on programming and such...to be continued...in progress...
There seem to be many options for a computer language editor and compiler for Ubuntu. The first is using a text editor such as gedit, jEdit, or the many others available in Ubuntu to write the program, then compile the program in the terminal using GCC. The second route is to use an all in one package to write and compile usually called an IDE. As of now I am trying out Geany. Many others include Eclipse, Emacs, Vi, Code::Blocks, Code Lite, Anjuta, etc. There is also the option to download and install the non-commercial Intel compilers.
Here is a link from the Ubuntu Community site on how to install and a little about GCC. https://help.ubuntu.com/community/InstallingCompilers
Link and information on GCC, the GNU Compiler Collection. http://gcc.gnu.org/
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Fortran, Java, Ada, and Go, as well as libraries for these languages (libstdc++, libgcj,...). GCC was originally written as the compiler for the GNU operating system. The GNU system was developed to be 100% free software, free in the sense that it respects the user's freedom.
We strive to provide regular, high quality releases, which we want to work well on a variety of native and cross targets (including GNU/Linux), and encourage everyone to contribute changes or help testing GCC. Our sources are readily and freely available via SVN and weekly snapshots.
Major decisions about GCC are made by the steering committee, guided by the mission statement.
GCC has support for
C http://gcc.gnu.org/c99status.html
C++ http://gcc.gnu.org/projects/cxx0x.html
Fortran http://gcc.gnu.org/fortran/
Java http://gcc.gnu.org/java/
and a few others.
Here is an Ubuntu Forum thread over a C/C++ IDE for commercial use. Even though they mention commercial, there is still some interesting discussions on Eclipse and a few other IDEs. http://ubuntuforums.org/showthread.php?t=172849
Some links on how to run and compile a C/C++ code on Ubuntu
http://blog.sudobits.com/2011/05/08/how-to-compile-and-run-c-c-plus-plus-program-on-ubuntu-11-04/
http://www.wikihow.com/Compile-a-C/C%2B%2B-Program-in-Ubuntu
http://www.ubuntugeek.com/how-to-install-c-and-c-compilers-in-ubuntu-and-testing-your-first-c-and-c-program.html
Another Ubuntu Forum thread on C/C++ editor and compiler. http://ubuntuforums.org/showthread.php?t=1724796
Another Ubuntu Forum discussion on editors and compilers.
http://ubuntuforums.org/showthread.php?t=1580148
Ubuntu Forum thread where I found out about Sun Studio, now Oracle Solaris Studio, and KDevelop. http://ubuntuforums.org/showthread.php?t=463955
Oracle Solaris Studio http://www.oracle.com/technetwork/server-storage/solarisstudio/overview/index.html
Oracle Solaris Studio, formerly Sun Studio, is a free comprehensive C, C++, and Fortran tool suite for both Oracle Solaris and Linux operating systems that accelerates the development of scalable, secure, and reliable enterprise applications.KDevelop http://kdevelop.org/
is a free, open source IDE (Integrated Development Environment) for MS Windows, Mac OS X, Linux, Solaris and FreeBSD. It is a feature-full, plugin extensible IDE for C/C++ and other programming languages. It is based on KDevPlatform, and the KDE and Qt libraries and is under development since 1998.
Discussion from Stackflow on Fortran and IDEs. http://stackoverflow.com/questions/3473854/best-fortran-ide
An interesting discussion on KDev and g77 for a Fortran compiler and IDE. http://ubuntuforums.org/showthread.php?t=1094563
Some comments from the above thread link.
KDevelop and Visual Studios are IDE's, they give you a nice coding environment they have backend compilers that actually do the compiling...not the IDE itself
Kdevelop is just somekind of glueprogram, that has en texteditor, and this program calls/executes the compiler. This is called an ide "integrated dev. environment" Normally it contains funky features like, syntax highlighting, api lookup... You can write your sourcecode in whatever editor you want. And then compile it by hand, by typing Code: gcc yourfile.cpp In a terminal. Makefiles are just a program that simply executes a series of compilations, while checking for dependencies in your program. All compilers as I know them, are commandline tools. The gnu compiler for assembler sourcefiles is called g77.
Intersting discussion on Fortran IDEs and compilers. http://mandrivausers.org/index.php?/topic/15152-what-ide-is-best-for-fortran/
http://www.linuxquestions.org/questions/linux-newbie-8/how-to-build-a-fortran-project-in-kdevelop-876096/
http://www.linuxquestions.org/questions/linux-software-2/intel-fortran-compiler-under-kdevelop-240242/
Ubuntu Forum FAQ's on programming and such. http://ubuntuforums.org/showthread.php?t=1006666
Ubuntu Forum on programming guides, has the above FAQ's thread and many more useful tools and information. http://ubuntuforums.org/showthread.php?t=1766253
I will try to update this post or add others on programming and such...to be continued...in progress...
Tuesday, February 8, 2011
More on LaTeX editors: TeXworks, Texmaker, Kile, GEdit-LaTeX, Vim-LaTeX, TEA Text Editor, LaTeXila, and Winefish
Whelp, here I am again, debating on what LaTeX editor to use, :P. I think I am going to try Texmaker out again. The reason I am switching is that (not sure if was TeXworks itself, but I was using it so I am going to blame it, :P) I opened chapter 2 of my thesis and got a bunch of junk! I don't know wth happened, but it looked like it had become corrupted. It looked as if a log file was saved instead of my work. Luckily, most LaTeX editors have backups of everything. However, the latest backup TeXworks had wasn't the latest I know I had completed and saved!! Luckily, I hadn't done much to the chapter so it will be easily fixed.
Thus, I am irritated with TeXworks so I am going to try Texmaker again. The reason why I am trying Texmaker and not Kile is the fact that Texmaker is cross-platform. A few things I have noticed since using Texmaker again. One, is that I think my issue with the syntax coloring has partly to do with the type of font. So I am going to experiment with fonts to see how they please my eyes. However, Texmaker does not let you preview fonts like Kile, a con.
Here are some pics on Texmaker's font and syntax coloring and Kile's syntax coloring.
Another small thing that I don't like about Texmaker as compared to Kile and TeXworks is that in Texmaker you have to open up files one by one. You cannot select more than one file at a time while in Kile and others like TeXworks you can.
Also, when scrolling through the tabs in TeXmaker, you cannot scroll through the last tab into the first again for a cycle while in Kile you can. Heh, I may be switching to Kile again! Oh well, a learning process
A few more editors to possibly try are Linux/Ubuntu's GEdit (text editor). It has a LaTeX plug-in. There is also a similar software/program/text editor to Emacs called Vi/Vim which stands for Vi Improved. A few more in Ubuntu's software repositories are TEA Text Editor, LaTeXila, and Winefish.
One note about Vim and Emacs is that they are designed for optimizing keyboard use. They maximize time spent using the keyboard with tons of shortcut commands.
http://projects.gnome.org/gedit/
http://www.vim.org/
http://vim-latex.sourceforge.net/
http://winefish.berlios.de/
http://tea-editor.sourceforge.net/
http://latexila.sourceforge.net/
A few discussions I found through Google over LaTeX editors.
http://ubuntuforums.org/showthread.php?t=793738
http://stackoverflow.com/questions/1235043/what-latex-editor-do-you-suggest-for-linux
http://www.latex-community.org/forum/viewtopic.php?f=41&t=9151
http://ubuntuforums.org/showthread.php?t=486126
http://www.ubuntugeek.com/gummi-simple-latex-editor-written-in-pythongtk.html
http://www.ubuntu-virginia.ubuntuforums.org/showthread.php?t=1559670
http://askubuntu.com/questions/501/whats-the-easiest-way-to-get-started-with-latex
Best editor for Debian. - http://www.latex-community.org/forum/viewtopic.php?f=28&t=9033&start=0
Here is a great in-depth blog post that reviews some LaTeX editors. Has some cool animated pictures!!
http://www.charlietanksley.net/philtex/editors/
Thus, I am irritated with TeXworks so I am going to try Texmaker again. The reason why I am trying Texmaker and not Kile is the fact that Texmaker is cross-platform. A few things I have noticed since using Texmaker again. One, is that I think my issue with the syntax coloring has partly to do with the type of font. So I am going to experiment with fonts to see how they please my eyes. However, Texmaker does not let you preview fonts like Kile, a con.
Here are some pics on Texmaker's font and syntax coloring and Kile's syntax coloring.
Another small thing that I don't like about Texmaker as compared to Kile and TeXworks is that in Texmaker you have to open up files one by one. You cannot select more than one file at a time while in Kile and others like TeXworks you can.
Also, when scrolling through the tabs in TeXmaker, you cannot scroll through the last tab into the first again for a cycle while in Kile you can. Heh, I may be switching to Kile again! Oh well, a learning process
A few more editors to possibly try are Linux/Ubuntu's GEdit (text editor). It has a LaTeX plug-in. There is also a similar software/program/text editor to Emacs called Vi/Vim which stands for Vi Improved. A few more in Ubuntu's software repositories are TEA Text Editor, LaTeXila, and Winefish.
One note about Vim and Emacs is that they are designed for optimizing keyboard use. They maximize time spent using the keyboard with tons of shortcut commands.
http://projects.gnome.org/gedit/
http://www.vim.org/
http://vim-latex.sourceforge.net/
http://winefish.berlios.de/
http://tea-editor.sourceforge.net/
http://latexila.sourceforge.net/
A few discussions I found through Google over LaTeX editors.
http://ubuntuforums.org/showthread.php?t=793738
http://stackoverflow.com/questions/1235043/what-latex-editor-do-you-suggest-for-linux
http://www.latex-community.org/forum/viewtopic.php?f=41&t=9151
http://ubuntuforums.org/showthread.php?t=486126
http://www.ubuntugeek.com/gummi-simple-latex-editor-written-in-pythongtk.html
http://www.ubuntu-virginia.ubuntuforums.org/showthread.php?t=1559670
http://askubuntu.com/questions/501/whats-the-easiest-way-to-get-started-with-latex
Best editor for Debian. - http://www.latex-community.org/forum/viewtopic.php?f=28&t=9033&start=0
Here is a great in-depth blog post that reviews some LaTeX editors. Has some cool animated pictures!!
http://www.charlietanksley.net/philtex/editors/
Subscribe to:
Posts (Atom)




