While working on App Engines new Java runtime, we realized that we were missing something important. Something the Python runtime already had. Something sleek, yet powerful ... and approximately 80 characters wide and 25 characters tall. Yes, were talking about the Python runtimes nifty shell demo app.
Naturally, we wanted to take the existing shell demo and extend its functionality for our new Java environment. Our idea was that wed create one REPL to rule them all: a shell demo that supports several different JVM-based languages simultaneously. It was an easy decision to use GWT to build the user-interface, making the terminal interface a cinch. Once we had the basic shell framework, we then added some languages: Beanshell, Clojure, Groovy, JavaScript, Python, Ruby, Scala, and Scheme.
This helps us underscore two important compatibility features of Java App Engine:
Google App Engine for Java accepts Java bytecode, not Java source code. It even supports loading bytecode generated at run time. That means that our new Java runtime can support any language with a compiler that targets the JVM. In fact, many advanced scenarios work as well - such as libraries that rely on runtime bytecode generation (such as dependency injection frameworks, AOP libraries, and expression-language runtimes).
The security sandbox in Google App Engine for Java is flexible. Other techniques for sandboxing Java can be restrictive about the permissions they grant to untrusted code, limiting the types of constructs you can use. For example, many secure Java environments dont allow you to create custom ClassLoaders or use tricks for reflection like setAccessible. Java App Engine attempts to provide this type of functionality in a secure fashion, making it possible to run more types of code (and more languages).
Now, it must be said: please note that this is a demonstration app we developed to show off the power and flexibility of our new Java runtime; its not a production service, and you shouldnt rely on it for anything important. Further, since this is a single shared instance of this application, running server code code from many users at once, you should exercise caution in entering any sensitive data like passwords into this demo. Finally, though weve worked to ensure rich functionality for as many languages as possible, this is still a proof of concept, and there is surely some language functionality missing from our environment.
But, without further ado, may we present to you, the Lord of the REPLS.
-- Google Software Engineers, Toby Reyelts and James Robinson.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the United States and other countries.
Related Post:
- Download Game IronPlane HD v1 5 for Nokia 5800 N97 X6 5530 and N8
- Download Theme Anime Girl Music by Rosy90 for Nokia 5800 and X6
- Distracted driving and cell phones
- Google and NTT DoCoMo announce collaboration
- Faster dialing with Google Voice on Android and Blackberry devices
- Discover more than 3 million Google eBooks from your choice of booksellers and devices
- Google App Engine integration features in IntelliJ IDEA and PyCharm
- Google Compute Engine Expanded Availability New Features and Lower Prices
- Easier faster and lower cost Big Data processing with the Google Cloud Storage Connector for Hadoop
- How to check your email from your phone and 50 other things you might want to teach your parents
- PHP App Engine Apps and File System Concepts
- ZTE Announces the Grand S II Iconia Phablet and the BlueWatch
- Comparison between Infinix Alpha X570 and Infinix Alpha Marvel X502
- Ubuntu Touch support dropped for 2012 Nexus 7 and Nexus 10 nexus 5 may be supported in the future
- Install the latest version of Adobe Flash Player on Android 4 0 and Higher
- Google Looking To Expand On Education Based Devices With Samsung And Other OEMs
- Google App Engine integration features in IntelliJ IDEA and PyCharm
- Ubuntu Touch support dropped for 2012 Nexus 7 and Nexus 10 nexus 5 may be supported in the future
- Griffin’s Car Dock for the Moto X Is Now Back in Stock
- Turn Off Caching In Google Play Newsstand Hidden Developer Options Make It So
- Samsung Earns No 1 Spot In Enterprise KNOX Security Flaws Were Found On The Same Day
- Acer announces their mega 24 all in one Android tablet
0 komentar:
Posting Komentar