Skip to Content
Core Java, Volume II: Advanced Features, 13th Edition
book

Core Java, Volume II: Advanced Features, 13th Edition

by Cay S. Horstmann
August 2024
Intermediate to advanced content levelIntermediate to advanced
988 pages
24h 37m
English
Pearson
Content preview from Core Java, Volume II: Advanced Features, 13th Edition

Chapter 13 ▪ Native Methods

While a “100% Pure Java” solution is nice in principle, there are situations in which you will want to write (or use) code in another language. Such code is usually called native code.

Particularly in the early days of Java, many people assumed that it would be a good idea to use C or C++ to speed up critical parts of a Java application. However, in practice, this was rarely useful. A presentation at the 1996 JavaOne conference showed this clearly. The developers of the cryptography library at Sun Microsystems reported that a pure Java platform implementation of their cryptographic functions was more than adequate. It was true that the code was not as fast as a C implementation would have been, but it turned out ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Core Java, Volume I: Fundamentals, 13th Edition

Core Java, Volume I: Fundamentals, 13th Edition

Cay S. Horstmann

Publisher Resources

ISBN: 9780135371671