Connect with us

Société

JDK 24: The new features in Java 24

Published

on

JDK 24: The new features in Java 24
Spread the love

The second feature, late barrier expansion, is intended to simplify the implementation of G1’s barriers. The garbage collector’s barriers record information about application memory accesses, by shifting their expansion from early in the C2 compilation pipeline to later. Goals include reducing the execution time of C2 compilation when using the G1 collector, making G1 barriers comprehensible to HotSpot developers who lack a deep understanding of C2, and guaranteeing that C2 preserves invariants about the relative ordering of memory accesses, safepoints, and barriers. A fourth feature is preserving the quality of C2-generated JIT (just-in-time)-compiled code, in terms of speed and size.

Additional features targeting JDK 24 will be determined during the next several months. Potential Java 24 features include further previews or final releases of features being previewed in JDK 23. These include the class-file API, for parsing, generating, and transforming Java class files; stream gatherers, to enhance the stream API for custom intermediate operations; module import declarations, for succinctly importing all packages exported by a module and simplifying reuse of modular libraries; structured concurrency, to simplify concurrent programming; scoped values, for sharing immutable data; and flexible constructor bodies, giving developers greater freedom to express behavior of constructors.

See also  Solana éclipse Ethereum et domine les recherches Google en 2023

Another feature in preview in JDK 23 and a contender for JDK 24 is primitive types in patterns, instanceof, and switch, which aims to enhance pattern matching by allowing primitive type patterns in all pattern contexts, and to extend instanceof and switch to work with all primitive types. Another possible JDK 24 feature is the vector API, now in an eighth incubation stage in JDK 23. The vector API is geared to expressing vector computations that reliably express at runtime to optimal vector instructions on supported CPU architectures. Ahead-of-time class loading, a feature designed to speed Java startups, and string templates, a feature previewed in JDK 21 and JDK 22 but dropped from JDK 23, could also be targeted to JDK 24.

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Société

Node.js previews network inspection support

Published

on

Node.js previews network inspection support
Spread the love

Node.js v20.18.0, a just-introduced update to the Long-Term Support (LTS) version of the popular asynchronous, event-driven JavaScript runtime, features experimental network inspection support.

Introduced October 3, Node.js 20.18.0 enables users to inspect network activities occurring within a JavaScript application. Still in active development, this capability is initially limited to HTTP and HTTPS modules only. To use this feature, Node.js must be started with the command $ node --inspect-wait --experimental-network-inspection index.js.

Other highlights of Node.js 20.18.0 include a new option for the tls.createSecureContext API. Developers can use tls.create.SecureContext({allowPartialTrustChain:true}) to treat non-self-signed certificates in the trust CA certificate list as trusted.

See also  Virginia Judge to Decide Whether Frozen Embryos Are Property With Monetary Value
Continue Reading

Société

Google ships Gemini 1.5 Flash-8B AI model

Published

on

Google ships Gemini 1.5 Flash-8B AI model
Spread the love

Google’s Gemini 1.5 Flash-8B AI model is now production-ready. The company said the stable release of Gemini 1.5 Flash-8B has the lowest cost per intelligence of any Gemini model.

Availability was announced October 3. Developers can access gemini-1.5-flash-8B for free via Google AI Studio and the Gemini API. Gemini 1.5 Flash-8B offers a 50% lower price compared to 1.5 Flash and twice the rate limits. Lower latency on small prompts also is featured.

An experimental version of Gemini 1.5 Flash-8B had been released in September as a smaller, faster variant of 1.5 Flash. Flash-8B nearly matches the performance of the 1.5 Flash model launched in May across multiple benchmarks and performs well on tasks such as chat, transcription, and long context language translation, Google said.

See also  Grange Names Murphy Chief Authorized Officer as Coleman Retires
Continue Reading

Société

Visual Studio Code 1.94 improves file search

Published

on

Visual Studio Code 1.94 improves file search
Spread the love

For Python, developers now can run Python tests with coverage and get rich results in the editor, Microsoft said. To run tests with coverage, users must select the coverage run icon in Test Explorer or “Run with coverage” from any menu that triggers test runs. The Python extension will run coverage by using the pytest-cov plugin if developers are using pytest, or by using coverage.py if using unittest. Once the coverage is complete, lines are highlighted in the editor for line-level coverage. The Python extension also has added a default problem matcher, simplifying issue tracking in Python code and providing more contextual feedback.

The Source Control Graph in Visual Studio Code 1.94 features a new history item reference picker in the view title, allowing developers to use the reference picker to filter the history items shown in the graph to a different branch or to view multiple branches. The Source Control Graph also expands the list of actions available in the context menu for source control history items. Actions have been added to create a new branch/tag from a history item, cherry-pick a history item, and check out an item.

Elsewhere in Visual Studio Code 1.94:

Continue Reading

Société

Why cloud security outranks cost and scalability

Published

on

Why cloud security outranks cost and scalability
Spread the love

Business reputation and trust are always vulnerable; companies recognize that a security breach can instantly damage both. Indeed, you’ll get yourself on the morning news and watch your stock drop by 50%. By prioritizing security, businesses aim to safeguard their reputation and customer relationships.

Long-term cost implications mean that focusing initially on cost and scalability might seem feasible, but the long-term financial impact of security incidents can be severe. Most people in the cybersecurity space understand that risk equals money. The more risk, the less your systems are worth, considering the potential for a breach. Prioritizing security can prevent costly breaches and downtime.

Innovation and agility mean that to remain competitive, businesses need to innovate rapidly. A secure cloud infrastructure enables this by providing a reliable foundation for building and deploying new services without compromising data integrity or security.

See also  Crypto parlement – traiter les cryptos comme des titres par défaut ?
Continue Reading

Société

Visual Studio Code 1.94 boosts file finding

Published

on

Visual Studio Code 1.94 boosts file finding
Spread the love

For Python, developers now can run Python tests with coverage and get rich results in the editor, Microsoft said. To run tests with coverage, users must select the coverage run icon in Test Explorer or “Run with coverage” from any menu that triggers test runs. The Python extension will run coverage by using the pytest-cov plugin if developers are using pytest, or by using coverage.py if using unittest. Once the coverage is complete, lines are highlighted in the editor for line-level coverage. The Python extension also has added a default problem matcher, simplifying issue tracking in Python code and providing more contextual feedback.

The Source Control Graph in Visual Studio Code 1.94 features a new history item reference picker in the view title, allowing developers to use the reference picker to filter the history items shown in the graph to a different branch or to view multiple branches. The Source Control Graph also expands the list of actions available in the context menu for source control history items. Actions have been added to create a new branch/tag from a history item, cherry-pick a history item, and check out an item.

Elsewhere in Visual Studio Code 1.94:

Continue Reading

Société

SingleStore acquires BryteFlow to boost data ingestion capabilities

Published

on

SingleStore acquires BryteFlow to boost data ingestion capabilities
Spread the love

Additionally, it also has a separate tool, SAP Data Lake Builder, that can be used to ingest data from SAP. Other specific data ingesting tools on offer include BryteFlow for Oracle, BryteFlow for SQL, BryteFLow for SQL Server, BryteFlow for PostgreSQL, and integrations with Databricks, Teradata, Google BigQuery, and Apache Kafka.

What effect will the acquisition have?

BryteFLow’s existing customers may have to look elsewhere for help with data integration if they use databases other than SingleStoreDB: “Our number one priority is to integrate BryteFlow into SingleStore and bring value to our customers through SingleConnect. We have no plan to sell BryteFlow independently at this time, apart from some special cases,” SingleStore CEO Raj Verma said via email.

But there will be opportunities for SingleStore customers, said Duncan Van Kouteren, research analyst at Nucleus Research. “The acquisition will enable customers to integrate data from various sources while maintaining real-time data analytics functionalities by utilizing BryteFlow’s capabilities such as change data capture (CDC),” he said.

See also  Solana éclipse Ethereum et domine les recherches Google en 2023
Continue Reading

Société

OpenAI updates API with model distillation, prompt caching abilities

Published

on

OpenAI updates API with model distillation, prompt caching abilities
Spread the love

“Many developers use the same context repeatedly across multiple API calls when building AI applications, like when making edits to a codebase or having long, multi-turn conversations with a chatbot,” OpenAI explained, adding that the rationale is to reduce token consumption when sending a request to the LLM.

What that means is that when a new request comes in, the LLM checks if some parts of the request are cached. In case it is cached, it uses the cached version, otherwise it runs the full request.

OpenAI’s new prompt caching capability works on the same fundamental principle, which could help developers save on cost and time.

See also  Prime oil CEOs be a part of CNBC at ADIPEC to debate the power transition
Continue Reading

Société

Understanding VBS Enclaves, Windows’ new security technology

Published

on

Understanding VBS Enclaves, Windows’ new security technology
Spread the love

Putting a trusted execution environment on a PC is useful for more than securing AI. It protects sensitive data, adding a new level of protection beyond at rest and in motion: in use. While it does require more work to define and use a VBS Enclave, it’s worth it to have more security with only limited performance impact.

With Windows 11’s memory integrity tools, a VBS Enclave uses Windows’ integral hypervisor to create a new, isolated, high-privilege area of system memory: Virtual Trust Level 1. Most of your code, and Windows itself, continues to run at Virtual Trust Level 0. VTL 1 is used by a secure version of the Windows kernel, with its own isolated user mode. This is where your VBS Enclave runs, as part of an application that appears to cross the boundary between the two zones. In reality, you’re separating off the VTL 1 enclave and using secure channels to communicate with it from the rest of your application in VTL 0.

Using VBS Enclaves in your applications

So how do you build and use VBS Enclaves? First, you’ll need Windows 11 or Windows Server 2019 or later, with VBS enabled. You can do this from the Windows security tool, via a Group Policy, or with Intune to control it via MDM. It’s part of the Memory Integrity service, so you should really be enabling it on all supported devices to help reduce security risks, even if you don’t plan to use VBS Enclaves in your code.

See also  Belgian Market Maker KeyRock Acquires Swiss Anti-Cash Laundering Approval

Continue Reading

Société

How to use extension methods in C#

Published

on

How to use extension methods in C#
Spread the love


public static class MyListExtensions
{
    public static T GetLastElement(this List list)
    {
        if(list.Count > 0)
            return list[list.Count - 1];
        return default(T);
    }
}

The GetLastElement is an extension method that returns the last element of a list. You can invoke this extension method using the following code snippet.


List integers = new List { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
int element = integers.GetLastElement();
Console.WriteLine(element);

Overloading an extension method in C#

Similar to other methods, you can also overload an extension method. The following code snippet shows how you can overload the Substring method of the string class to return a substring of a string. This overloaded Substring method takes the starting and ending index and a Boolean as parameters. The Boolean denotes if the returned string should be converted to upper case. If you pass true in this parameter when calling the extension method, the returned string will be converted to upper case.

See also  NYCB reignites banking trade, industrial actual property fears
Continue Reading

Société

OpenAI previews Realtime API for speech-to-speech apps

Published

on

OpenAI previews Realtime API for speech-to-speech apps
Spread the love

OpenAI has introduced a public beta of the Realtime API, an API that allows paid developers to build low-latency, multi-modal experiences including text and speech in apps.

Introduced October 1, the Realtime API, similar to the OpenAI ChatGPT Advanced Voice Mode, supports natural speech-to-speech conversations using preset voices that the API already supports. OpenAI also is introducing audio input and output in the Chat Completions API to support use cases that do not need the low-latency benefits of the Realtime API. Developers can pass text or audio inputs into GPT-4o and have the model respond with text, audio, or both.

With the Realtime API and the audio support in the Chat Completions API, developers do not have to link together multiple models to power voice experiences. They can build natural conversational experiences with just one API call, OpenAI said. Previously, creating a similar voice experience had developers transcribing an automatic speech recognition model such as Whisper, passing text to a text model for inference or reasoning, and playing the model’s output using a text-to-speech model. This approach often resulted in loss of emotion, emphasis, and accents, plus latency.

See also  How to Take a Break Without Breaking the Bank
Continue Reading
Advertisement

Derniers Articles

« Ma grossesse m’a sauvé la vie » : Virgilia Hess, atteinte d’un cancer du sein lorsqu’elle était enceinte, appelle à se faire dépister « Ma grossesse m’a sauvé la vie » : Virgilia Hess, atteinte d’un cancer du sein lorsqu’elle était enceinte, appelle à se faire dépister
France1 min ago

« Ma grossesse m’a sauvé la vie » : Virgilia Hess, atteinte d’un cancer du sein lorsqu’elle était enceinte, appelle à se faire dépister

Spread the love Être enceinte lui a « sauvé la vie ». Virgilia Hess, présentatrice météo pour BFMTV, était âgée de 32...

Record de blessures de Mason Mount à Manchester United Record de blessures de Mason Mount à Manchester United
Football19 mins ago

Record de blessures de Mason Mount à Manchester United

Spread the love Mason Mount a connu des difficultés à Manchester United depuis son transfert de 55 millions de livres...

Trump en meeting où il avait failli être tué Trump en meeting où il avait failli être tué
France24 mins ago

Trump en meeting où il avait failli être tué

Spread the love Donald Trump est de retour samedi sur le “lieu du crime”: une petite ville de l’Etat crucial de Pennsylvanie...

Phil Jones: ‘I had to strip everything back – now management is my focus’ Phil Jones: ‘I had to strip everything back – now management is my focus’
Sports32 mins ago

Phil Jones: ‘I had to strip everything back – now management is my focus’

Spread the love I learned so much from all the different managers I played for and the team-mates I played...

Ultra-rare Jaguar XKSS set to sell at London auction for £11MILLION – only six British motors have sold for more at the block Ultra-rare Jaguar XKSS set to sell at London auction for £11MILLION – only six British motors have sold for more at the block
International33 mins ago

Ultra-rare Jaguar XKSS set to sell at London auction for £11MILLION – only six British motors have sold for more at the block

Spread the love ‘Vanishingly rare, utterly beautiful, and with blistering performance.’ Those are the words used by classic car experts...

Sur l’assurance chômage, le gouvernement Barnier désavoue la méthode Attal Sur l’assurance chômage, le gouvernement Barnier désavoue la méthode Attal
Santé37 mins ago

Sur l’assurance chômage, le gouvernement Barnier désavoue la méthode Attal

Spread the love LUDOVIC MARIN / AFP Astrid Panosyan-Bouvet, ministre du Travail, à l’Élysée le 1 octobre 2024. LUDOVIC MARIN /...

C’est fou ! Découvrez combien vous coûte votre voiture par rapport à son temps d’utilisation : Femme Actuelle Le MAG C’est fou ! Découvrez combien vous coûte votre voiture par rapport à son temps d’utilisation : Femme Actuelle Le MAG
France41 mins ago

C’est fou ! Découvrez combien vous coûte votre voiture par rapport à son temps d’utilisation : Femme Actuelle Le MAG

Spread the love Nous avons un cadeau pour vous Créez un compte et inscrivez-vous à la newsletter Femme Actuelle pour...

Ce pays où un animal de compagnie vaut mieux qu’un enfant Ce pays où un animal de compagnie vaut mieux qu’un enfant
Afrique59 mins ago

Ce pays où un animal de compagnie vaut mieux qu’un enfant

Spread the love Essi Akofa 2 heures . A la Une A cause d’une baisse importante de la natalité en...

MotoGP : Bagnaia gagne le sprint au Japon et grappille quelques points derrière Martin MotoGP : Bagnaia gagne le sprint au Japon et grappille quelques points derrière Martin
France1 hour ago

MotoGP : Bagnaia gagne le sprint au Japon et grappille quelques points derrière Martin

Spread the love Une course sprint serrée et de précieux points pour un classement général tout aussi compact. L’Italien Francesco...

Mohamed Farsi joue gros… pour mars Mohamed Farsi joue gros… pour mars
Football algérien1 hour ago

Mohamed Farsi joue gros… pour mars

Spread the love Il aura été très convaincant le 10 septembre dernier chez le Libéria lors du large succès (0-3)...

À surveiller : l’attaquant 10 G/A du Borussia Dortmund exclu pour le match nul avec le Real Madrid À surveiller : l’attaquant 10 G/A du Borussia Dortmund exclu pour le match nul avec le Real Madrid
Football1 hour ago

À surveiller : l’attaquant 10 G/A du Borussia Dortmund exclu pour le match nul avec le Real Madrid

Spread the love Le Real Madrid a reçu un avantage significatif avant son match d’UEFA Champions League contre le Borussia...

deux films avec l’acteur, « Le Routard » et « La Cache » sortiront en 2025 deux films avec l’acteur, « Le Routard » et « La Cache » sortiront en 2025
Santé1 hour ago

deux films avec l’acteur, « Le Routard » et « La Cache » sortiront en 2025

Spread the love SC Pool – Corbis / Corbis via Getty Images Mort de Michel Blanc : deux films avec l’acteur,...

ce taille-haies électrique voit son prix chuter d’un coup sous les 60 euros ce taille-haies électrique voit son prix chuter d’un coup sous les 60 euros
France1 hour ago

ce taille-haies électrique voit son prix chuter d’un coup sous les 60 euros

Spread the love L’équipe Shopping 09h45, le 05 octobre 2024 L’automne arrive bientôt, il est préférable de profiter des beaux...

🔴 Live: Israeli strike in northern Lebanon kills a Hamas commander and family 🔴 Live: Israeli strike in northern Lebanon kills a Hamas commander and family
International1 hour ago

🔴 Live: Israeli strike in northern Lebanon kills a Hamas commander and family

Spread the loveAn Israeli strike hit a Palestinian refugee camp near Lebanon’s northern city of Tripoli for the first time...

Ianis Hagi’s father relieved over Rangers resolution – Scottish gossip Ianis Hagi’s father relieved over Rangers resolution – Scottish gossip
Sports2 hours ago

Ianis Hagi’s father relieved over Rangers resolution – Scottish gossip

Spread the love Gheorghe Hagi says, “I can sleep peacefully now” that his son, Ianis, is set to return to...

Which? calls for cabin bag and seat selection fees that quadruple flight costs to be included in ‘drip pricing’ crackdown – as study shows flying with BA can be CHEAPER than Ryanair once add-ons are included Which? calls for cabin bag and seat selection fees that quadruple flight costs to be included in ‘drip pricing’ crackdown – as study shows flying with BA can be CHEAPER than Ryanair once add-ons are included
International2 hours ago

Which? calls for cabin bag and seat selection fees that quadruple flight costs to be included in ‘drip pricing’ crackdown – as study shows flying with BA can be CHEAPER than Ryanair once add-ons are included

Spread the love By Harriet Sime Deputy Travel Editor For The Daily Mail Published: 00:01 BST, 5 October 2024 |...

“Il faut savoir s’arrêter au bon moment” : les confidences de Sylvie Vartan avant de faire ses adieux à la scène : Femme Actuelle Le MAG “Il faut savoir s’arrêter au bon moment” : les confidences de Sylvie Vartan avant de faire ses adieux à la scène : Femme Actuelle Le MAG
France2 hours ago

“Il faut savoir s’arrêter au bon moment” : les confidences de Sylvie Vartan avant de faire ses adieux à la scène : Femme Actuelle Le MAG

Spread the love Nous avons un cadeau pour vous Créez un compte et inscrivez-vous à la newsletter Femme Actuelle pour...

Le président béninois Patrice Talon reçu par Emmanuel Macron Le président béninois Patrice Talon reçu par Emmanuel Macron
Afrique2 hours ago

Le président béninois Patrice Talon reçu par Emmanuel Macron

Spread the love Fabrice AGBLEMAGNON 2 heures . A la Une, Afrique, Benin, France, Politique En marge du Sommet de...

Le chef Arnaud Faye : « Je ne connais pas l’hypermarché » Le chef Arnaud Faye : « Je ne connais pas l’hypermarché »
France2 hours ago

Le chef Arnaud Faye : « Je ne connais pas l’hypermarché »

Spread the love Il a pris la succession délicate d’un très grand, Éric Frechon, à l’hôtel Bristol, et notamment au...

« The Outrun » avec Saoirse Ronan rappelle que le combat contre l’alcoolisme touche aussi les jeunes « The Outrun » avec Saoirse Ronan rappelle que le combat contre l’alcoolisme touche aussi les jeunes
Santé2 hours ago

« The Outrun » avec Saoirse Ronan rappelle que le combat contre l’alcoolisme touche aussi les jeunes

Spread the love UFO Distribution Saoirse Ronan perce l’écran dans son rôle de jeune alcoolique en rémission dans « The Outrun »....

Advertisement

Trending