Online compilers/runtime for Java, C++, Python and ObjC? [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Does anyone know of a good online compiler/runtime (for C++, Java, Python, ObjC etc.) that I can access on the web?
What I'm looking for is something that would allow me to type in a program in a web form and to run the program and see the results online.
(Let's not get into the why for now. Suffice it to say for the moment that I don't always have access to a compiler/runtime, and firing up an IDE is just overkill for testing out some code snippets)
I know of codepad.org -- but I'm looking for something better.

ideone is something better but what particular advence do you need?

http://codepad.org/
codepad.org is an online
compiler/interpreter, and a simple
collaboration tool. Paste your code
below, and codepad will run it and
give you a short URL you can use to
share it in chat or email.
Languages:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl

Right now, you can use http://sagenb.org. This is a free open source online Google Docs-like programming notebook environment, which I provide (thanks to a generous grant from the National Science Foundation). Once you create an account and create a new worksheet, click on the box (fourth from left) labeled "Sage" and change it to Python. Now all the code you type in is evaluated using Python. The main drawback is that there are well over 30,000 users of this resource, so sometimes it is slow.

I found this online java compiler and runner. It works in realtime and also with threads. Amazing !
http://www.browxy.com

For C++, you could try CodeControl, Comeau or the one from code.vcer.net.

This one is good for ruby.

Here is an open source one: http://codenode.org, which supports Python and Sage well, but also aims to support other languages like Ruby, R, etc. Probably the best description of Codenode is "Google docs combined with Mathematica Notebooks".

CodeIDE is an ok one: http://www.codeide.com/

You can practice your SQL here.

Related

Best and current tools and programming languages to use in building a web site that does engineering calculations and graph outputs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have written a Python application that takes about 4 numbers from the user and does some calculations with it. The final result is displayed on a matplotlib graph. Now, I would like to take this application and put it on a web site. I want to have users sign up for a yearly subscription, do their calculations and print the results to a PDF to be saved on their computer. Because I know Python (but just a beginner at that), I tried to learn Django, but I hit many road blocks with Python version management, getting bunch of error messages that I could not debug. My question to you is what current tools and programming language would you recommend (Java, PHP, HTML, others). I am willing to learn and try anything. I'd rather be able to look at others' code to understand what they did and how they did. Thank you.
Sounds like you are trying to build a large complex application before learning the basics. Python is fine for a server side language but you will need to get a good understanding of HTML, CSS and Javascript to pull pretty much anything of value off when it comes to the web. Take a look at sides like Team Treehouse, Code School or Code Academy. They all have great courses to give you some more knowledge around not only HTML, CSS and JS but how to leverage those technologies into a system like explained above. Good luck!

What's the most useful and complete Java cheat sheet? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need a cheat sheet for Java and started looking around, but could not find one that seemed "canonical" - which surprised me considering how widespread the language is. Could experienced Java coders please suggest a cheat sheet that is useful (organized so well you actually use it often) and complete (covers real-world daily usage) please?
By contrast, here's what I'd consider a canonical cheat sheet for Python: http://rgruet.free.fr/PQR26/PQR2.6.html
It is complete (syntax, types, statements, built-ins, common modules, idioms) and useful (well-organized: sectioned and hyperlinked; easy to search, and easy to explore).
Also, I have looked at the listing here already: http://devcheatsheet.com/tag/java/ and did not find a cheat sheet comparable to RGruet's Python cheat sheet above. The top listing in Google for "Java cheat sheet" is http://www.cs.princeton.edu/introcs/11cheatsheet/ which is fairly complete, but not organized to be useful. There's gotta' be something better out there!? BTW, it need not fit on 1 page. I'm aware of the Java API docs, but that's more what I'd expect a cheat sheet to link to, not be.
Update
Some SO members thought this question was subjective, but I think I explained my criteria to be fairly objective: completeness (content) and usefulness (presentation) are not hard to judge in this context. I've accepted one of the more useful answers, but remain surprised that Java doesn't have a canonical cheat-sheet.
This one didn't seem too bad.
http://mindprod.com/jgloss/jcheat.html
found one interesting cheat sheet here..
http://introcs.cs.princeton.edu/java/11cheatsheet/
This Quick Reference looks pretty good if you're looking for a language reference. It's especially geared towards the user interface portion of the API.
For the complete API, however, I always use the Javadoc. I reference it constantly.
Here is a great one
http://download.oracle.com/javase/1.5.0/docs/api/
These languages are big. You cant expect a cheat sheet to fit on a piece of paper
I have personally found the dzone cheatsheet on core java to be really handy in the beginning. However the needs change as we grow and get used to things.
There are a few listed (at the end of the post) in on this java learning resources article too
For the most practical use, in recent past I have found Java API doc to be the best place to cheat code and learn new api. This helps specially when you want to focus on latest version of java.
mkyong - is one my fav places to cheat a lot of code for quick start - http://www.mkyong.com/
And last but not the least, Stackoverflow is king of all small handy code snippets. Just google a stuff you are trying and there is a chance that a page will be top of search results, most of my google search results end at stackoverflow. Many of the common questions are available here - https://stackoverflow.com/questions/tagged/java?sort=frequent
It's not really a cheat-sheet, but for me I setup a 'java' search keyword in Google Chrome to search over the javadoc, using site:<javadoc_domain_here>.
You could do the same but also add the domain for the Sun Java Tutorial and for several Java FAQ sites and you'd be OK.
Otherwise, StackOverflow is a pretty good cheat-sheet :)

Suggestion needed for learning Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I need some advice in learning Java and getting Java certification. My target is to get Certified. I am acquainted with C, C++, feel quite okay with the topics.
As I already mentioned that I need some suggestions about, how to start Java and where to start. Please help me in this regard.
I already downloaded,
SCJP Sun Certified Programmer for Java 6.pdf
Osborne - The Complete Reference Java 2 (5th Edition).pdf
And some free Java tutorials, from sun website and other places
So, please suggest me what more I could do, and where else I need to look. Is there any better resource for Java Beginners? I really need to learn it fast. And yes, I am dedicated with all my efforts.
It would be nice if someone can pass me links to some online Java compilers.
Head First Java is a good book for beginners.
See the Oracle Java Tutorials section on Getting Started.
Also check out the question that has been previously asked
Best Java book you have read so far
Java Ranch is a good website for Java forums and FAQs
The book Java Language specification is also available online.
My suggestion is that you should get a hard copy of Head First Java.
It is the best book for beginners.
Java Compilers
Download JDK
IF you want to use an IDE then Download Eclipse
Want to use an online compiler? Use IDEONE
Apart from reading books and doing multiple choice question tutorials the best way to learn something is to actually use it. I suggest you start doing some actual programming in Java. Think of a couple of smallish apps and just start trying to use what you have learned studying.
Look for some books, they are really helpfull (and java doc of course!):
Google Books
I have read (spanish): Estructura de Datos en Java from Mark Allen Weiss, it is a GOOD beginning...
If you think you are OK with C and C++ then you are OK with Java, its easier to learn I think, good luck with that...
and of course search for JAVA API 1.6 on GOOGLE (i cant post more links sorry)
Can u able to suggest me some sites to
learn a bit easily...a tutorials. But
i need to learn with in short time.Iam
keeping my full efforts for this to
achieve.
Aside the Java Standard Tutorials, referred by #org.life.java, if you need to learn Java EE (Servlets, JSP, EJBs, SOAP, etc, etc, etc), con can check the Java Blue Prints, with lot of code examples.
Provide me some links ---> online free
compilers for java
You can download the last JDK from Oracle page for free. With the JDK you'll be able to compile.
Anyway, you better download a IDE to start programming. The easiest to learn is NetBeans. Other option, with more functionality and more customizable is Eclipse IDE.

php equivalent to jython? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
i wonder if there is a php equivalent to jython so you can use java classes with php?
thanks
http://www.caucho.com/resin-3.0/quercus/
http://php-java-bridge.sourceforge.net/pjb/
I'm not quite sure what you are asking, since you are talking about two completely different things: a PHP equivalent to Jython, and accessing Java classes from PHP. So, I'm going to answer both.
Jython is a Python implementation for the JVM. So, the PHP equivalent would be a PHP implementation for the JVM. There are actually two that I know of: IBM's P8, which is part of Project Zero and Quercus.
However, you don't need to run your PHP on Java if you want to run it with Java. A PHP-to-Java bridge would be enough, you don't need a PHP-on-Java implementation. I know that at some point in the past at least one such bridge must have existed, because someone once told me that they used one, but that is about all I know.
I just googled php jvm and got a bunch of hits. Never tried any of them.
Well: Java Server Pages (JSP) are "equivalent" to PHP, but using java classes.
It's "equivalent" in that it's HTML with embedded java code, but not at all compatible to PHP syntax.
Fayer,
Try PHP/Java Bridge that integrates PHP and Java, as recommended in PHP manual (Java Class - dead- URL: www.php.net/manual/en/java.installation.php).
Please, let me know how it worked for you.
You may have to use Zend Server CE (www.zend.com/en/products/server-ce/), instead of Apache.
Best.

Automated Python to Java translation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a tool out there that can automatically convert Python to Java?
Can Jython do this?
Actually, this may or may not be much help but you could write a script which created a Java class for each Python class, including method stubs, placing the Python implementation of the method inside the Javadoc
In fact, this is probably pretty easy to knock up in Python.
I worked for a company which undertook a port to Java of a huge Smalltalk (similar-ish to Python) system and this is exactly what they did. Filling in the methods was manual but invaluable, because it got you to really think about what was going on. I doubt that a brute-force method would result in nice code.
Here's another possibility: can you convert your Python to Jython more easily? Jython is just Python for the JVM. It may be possible to use a Java decompiler (e.g. JAD) to then convert the bytecode back into Java code (or you may just wish to run on a JVM). I'm not sure about this however, perhaps someone else would have a better idea.
It may not be an easy problem.
Determining how to map classes defined in Python into types in Java will be a big challange because of differences in each of type binding time. (duck typing vs. compile time binding).
Yes Jython does this, but it may or may not be what you want
to clarify your question:
From Python Source code to Java source code? (I don't think so)
.. or from Python source code to Java Bytecode? (Jython does this under the hood)

Categories

Resources