ProgrammingLanguages
By Paul Krill Microsoft has introduced TypeSpec, a language for API-centric development. Unveiled April 25, TypeSpec is designed to meet the needs of API developers, managers, and architects in an environment where delivering high-quality APIs and related experiences has become increasingly critical and complex, Microsoft said. The company described TypeSpec as a lightweight language that describes APIs using any protocol or serialization format and encapsulates common data types, API patterns, and API guidelines into high level, reusable components. It can define complex data and API shapes w...
Info World
By Serdar Yegulalp Rust offers programmers a way to write memory-safe software without garbage collection, running at machine-native speed. It's also a complex language to master, with a fairly steep initial learning curve. Here are five gotchas, snags, and traps to watch for when you're getting your footing with Rust—and for more seasoned Rust developers, too. Rust gotchas: 6 things you need to know about writing Rust codeYou can't 'toggle off' the borrow checkerOwnership, borrowing, and lifetimes are baked into Rust. They're an integral part of how the language maintains memory safety withou...
Info World
By Paul Krill The number of proposed features for Java Development Kit (JDK) 23, the next planned version of standard Java, has climbed to seven. The two latest additions are module import declarations and markdown declaration comments. A proposal to make the generational mode of the Z Garbage Collector the default mode was added last week. Due September 17, JDK 23 also will include a vector API, which will be incubated for the eighth time, a second preview of stream gatherers, a second preview of a class-file API, and a preview of primitive types in patterns, instanceof, and switch. Early acc...
Info World
By Paul Krill The readability, maintainability, and usability of switch statements and expressions in Java would be improved by a proposal to allow exceptions to be handled in the switch block. The current OpenJDK proposal, “Exception handling in switch (Preview),” would be part of the Standard Edition of Java, although no specific version Java SE has been designated yet as the recipient. Specifically, the proposal calls for enhancing switch so that exceptions thrown by the selector (the e in switch (e) …) can be handled in the switch block. Goals of the plan, which was created January 12 and ...
Info World
By Paul Krill Java would be enhanced with the ability to succinctly import all packages exported by a module, under a proposal floating in the Java community. The plan would simplify the use of modular libraries in Java. The preview language feature for Java SE (Standard Edition), called Module Import Declarations, has been filed as a JDK Enhancement Proposal (JEP) in the OpenJDK community. Goals of the plan include simplifying the reuse of modular libraries by allowing entire modules to be imported at once, avoiding the noise of multiple type-import-on-demand declarations when using diverse p...
Info World
By Paul Krill ECMAScript 2024, a planned update to ECMA’s standard for JavaScript, is set to include seven new features ranging from array grouping to Unicode strings. The 2024 specification, from ECMA’s Technical Committee 39, is expected to be approved in June. Among the list of finished features cited for publication this year is a proposal for array grouping. Motivating this proposal is the notion that array grouping is a common operation best exemplified by SQL’s GROUP BY clause and mapreduce programming. The ability to combine like data into groups lets developers compute higher order da...
Info World
By Paul Krill Parasoft has launched a tool to enhance safety testing for C and C++ applications. The tool comes at a time when the two venerable programming languages have come under fire over safety concerns. Announced April 8, the C/C++test CT (Continous Testing) tool is intended to empower large developer teams to build reliable and dependable embedded systems. It provides a comprehensive solution for large teams engaged in the development of safety-critical and security-critical C and C++ products, Parasoft said. C/C++test CT integrates with developers’ desktop environments such as Visual ...
Info World
By Paul Krill PHP, long a popular server-side scripting language for web development, has dropped to its lowest position ever in the monthly Tiobe index of programming language popularity, ranking 17th in the April 2024 edition of the index. When the Tiobe index started in 2001, PHP was about to become the standard language for building websites, said Paul Jansen, CEO of software quality services vendor Tiobe. PHP even reached the top 3 spot in the index, ranking third several times between 2006 and 2010. But as competing web development frameworks such as Ruby on Rails, Django, and React arri...
Info World
By Chathura Ekanayake Many business processes involve communicating with external parties such as suppliers, logistics providers, insurance providers, and government institutions. Unlike internal communications, these inter-organizational communications usually have to follow various regulations and standards, and could introduce delays if one party doesn’t comply. Therefore, effective business-to-business (B2B) integrations are a key part of most digital transformation projects. Let’s take the fictional example of an electronic equipment manufacturer named Smartware. Smartware supplies equipm...
Info World
By Serdar Yegulalp Over the past decade, Rust has emerged as a language of choice for people who want to write fast, machine-native software that also has strong guarantees for memory safety. Other languages, like C, may run fast and close to the metal, but they lack the language features to ensure program memory is allocated and disposed of properly. As noted recently by the White House Office of the National Cyber Director, these shortcomings enable software insecurities and exploits with costly real-world consequences. Languages like Rust, which put memory safety first, are getting more att...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら