programminglanguages
By Paul Krill Rust has leaped to its highest position ever in the monthly Tiobe index of language popularity, scaling to the 13th spot this month, with placement in the top 10 anticipated in an upcoming edition. Previously, Rust has never gone higher than 17th place in the Tiobe Programming Index. Tiobe CEO Paul Jansen attributed Rust’s ascent in the just-released July index to a February 2024 US White House report recommending Rust over C/C+, for safety reasons. He also credited the growing community and ecosystem support for the language. “Rust is finally moving up. After the tailwind of the...
Info World
By Peter Wayner In 2007, some of the programmers at Google looked at their options for writing software and didn’t like what they saw. They needed to manage millions of lines of code that would be constantly storing and shipping data for the world wide web. The code would juggle thousands or maybe millions of connections on networks throughout the globe. The data paths were full of challenges from race cases and concurrency. The existing programming languages weren’t much help. They were built for games or managing desktops, or many of the other common tasks from a world before the web browser...
Info World
By Paul Krill ECMAScript 2024, the latest version of ECMA International’s standard for JavaScript, has been officially approved, with features including transferring ArrayBuffers and advanced capabilities for working with string sets. The ECMAScript 2024 specification, also generally known as ECMA-262, was approved on June 26. Among the features are added facilities for resizing and transferring ArrayBuffers and SharedArrayBuffers. ArrayBuffers have previously enabled in-memory handling of binary data. The new feature extends ArrayBuffer constructors to take an additional maximum length that a...
Info World
By Matthew Tyson The JavaScript language is one of the wonders of the software world. It is incredibly powerful, flexible, and versatile. One limitation of its fundamental design, however, is its single-threaded nature. Traditional JavaScript appears to handle parallel tasks, but that is a trick of syntax. To achieve true parallelism, you need to use modern multithreading approaches like web workers and worker threads. Parallelism vs. concurrencyThe most basic way to understand the difference between parallelism and concurrency is that concurrency is semantic whereas parallelism is implementat...
Info World
By Paul Krill The Rust types team has made significant progress on the next-generation trait solver, according to a June 26 blog post. Work done to stabilize the use of the next-generation trait solver in coherence checking surfaced small behavior regressions and hangs, which caused delays. But the team is close to compiling the standard library and the compiler with the new solver enabled everywhere. They expect a long tail of minor issues and behavioral differences from the existing implementation. There also are open design questions that will need to be resolved prior to stabilizing the ne...
Info World
By Serdar Yegulalp This half-month Python report includes a quick guide to writing Python code in 2024, how to build Python-based data-driven web apps without a line of JavaScript, and 10 smart ways to make Python faster. We also have an intro to the one library Python users lean on for faster math at scale—and do check out all the breezy updates in Python Polars 1.0.0-rc.1. Top picks for Python readers on InfoWorld4 keys to writing modern PythonDitch the oldandbusted.py, embrace the newhotness.py—this update includes Python's new type hinting syntax and structural pattern matching, among othe...
Info World
By Paul Krill An OpenJDK proposal would preview value classes and objects in a forthcoming version of Java. The feature would provide Java class instances that have only final fields and lack object identity. The Java enhancement proposal, which dates back to August 2020, was updated on June 21. The plan would allow developers to opt into a programming model for simple values in which objects are distinguished by their field values, much as the int value 3 is distinguished from the int value 4. A second goal is to migrate popular classes that represent simple values in the JDK, such as Integer...
Info World
By Matthew Tyson Java 22 introduces stream gatherers, a new mechanism for manipulating streams of data. Stream gatherers are the delivered feature for JEP 461, allowing developers to create custom intermediate operators that simplify complex operations. At first glance, stream gatherers seem a bit complex and obscure, and you might wonder why you'd need them. But when you are confronted with a situation that requires a certain kind of stream manipulation, gatherers become an obvious and welcome addition to the Stream API. The Stream API and stream gatherersJava streams model dynamic collection...
Info World
By Paul Krill The OpenJDK’s Project Leyden, an effort to improve the startup time, time to peak performance, and footprint of Java programs, has published its first early-access build. Accessible from java.jdk.net, the initial Project Leyden release focuses on improving application startup time, according to a June 24 bulletin on the Oracle Java team’s Inside Java website. Other Leyden optimizations will be explored in future releases. The easiest way to start with Leyden features is by using the java program in the Leyden Early Access Release with the -XX:CacheDataStore flag. Project Leyden i...
Info World
By Serdar Yegulalp Although Python had its 30-year anniversary in 2021, the explosion of adoption, growth, and forward-thinking development associated with the language is still relatively new. Many features of Python have remained unchanged since its inception, but with every passing year, and every new edition of Python, there are new ways of doing things and new libraries that take advantage of those advances. So, Python has its old ways and its new ways. Naturally, it makes sense to learn how to work with Python using its most modern and convenient features. Here, we’ll run down the key co...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら