VOOZH about

URL: https://thenewstack.io/dev-news-gemini-ai-for-android-deno-webgpu-vite-and-rust/

⇱ Dev News: Gemini AI for Android, Deno WebGPU, Vite and Rust - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-12-16 05:00:57
Dev News: Gemini AI for Android, Deno WebGPU, Vite and Rust
AI / Frontend Development / JavaScript / Rust / Software Development

Dev News: Gemini AI for Android, Deno WebGPU, Vite and Rust

Google makes its Gemini AI API available to Android programmers via an SDK. Vite 5 changes explained, and Deno re-adds the WebGPU API.
Dec 16th, 2023 5:00am by Loraine Lawson
👁 Featued image for: Dev News: Gemini AI for Android, Deno WebGPU, Vite and Rust
Photo by Guido Coppa via Unsplash.  

Gemini is Google’s new multimodal AI foundation model. It was released just a week ago, but Google is already offering support for Android developers who want to leverage AI in apps. Gemini Pro is accessible via the Gemini API, the technology giant announced Wednesday. Developers can use the Google AI SDK, a client for Android, to integrate with Gemini Pro.

The company also pointed to Google AI Studio, which is available in early access right now, as a “streamlined way for developers to integrate the Gemini Pro model, craft prompts, crate API keys, and transform ideas into AI apps.” It allows developers to create a prompt in Google AI Studio and generate a Kotlin code integration snippet by clicking on the “Get code” action. There’s a free introductory course on Google AI Studio as well.

Finally, developers can use the Gemini API directly in the current canary build version of Android Studio. There’s also a new project template that allows developers to get a jump start with the Google AI SDK for Android.

As an alternative, developers can import the generative AI code sample and set it up in Android Studio. To do that, it directs developers to select File > New > Import Sample, and search for “Generative AI Sample.”

Deno Goes Back to Finalized WebGPU API

Deno 1.39 is bringing back the WebGPU API, which is useful for rendering, games and a variety of other applications, such as machine learning algorithms expressed as a series of matrix operations, the team wrote Thursday.

WebGPU API provides developers with a “low-level, high performance, cross-architecture way to program GPU hardware from JavaScript,” according to team Deno. The JavaScript runtime first introduced the API back in early 2021. Earlier this year, it removed it due to performance problems.

The Deno team noted that the spec is finalized and Chrome has already shipped the API. Firefox and Safari are working on supporting it as well.

“Our WebGPU implementation is based on the same underlying system as the upcoming WebGPU implementation in Firefox, so we’re confident that it’s a solid foundation for developers to build on,” the team stated.

Vite 5 Includes Rollup’s Rust-Based Parser

Vite 5 was released last month and with it came Rollup version 4, a major version that introduces a Rust-based parser. Creator Evan You explained the significance of that news in a recently released video of his VueConf Toronto presentation.

Vite is a frontend development tool that’s a “friendly” alternative to traditional web build tools such as Webpack. It’s used as the dev server for Angular and as the default tooling for React and Redwood. It’s also supported by the runtime Bun and Remix recently released an unstable Vite plugin. Vite has reached almost 8 million weekly NPM, downloads, according to You.

Rollup is a module bundler for JavaScript that compiles small pieces of code into something larger and more complex, like a library or an application. It uses the standardized format for code modules from the JavaScript ES6 revision, instead of CommonJS. Rollup’s Rust-based parser will improve Rollup production build performance by a “decent percentage,” You said. He also discussed Vue at that event.

In addition, the Vite team deprecated the common Javascript API of Vite itself, You said. Most dependencies downstream are already using the ESMAScript (ESM) API, he added.

“This is just part of the overall effort for Vite,” he said. “As this newer build tool, we have the opportunity to help push the ecosystem towards a pure ESM world and get us out of this mess of Common JS and ESM as soon as possible.”

You said they also have a better-defined replacement handling with Vite 5.

“Previously, the global defined variable replacement in Vite is implemented a little bit differently between development and production, and the production build replacement strategy is also a bit of brute force because it’s using regular expression replacements,” he explained. “In this version, we’re now using the ES Build-based strategy to do the replacements, which should result in more solid and more efficient replacements overall.”

Vite 5 also dropped support for ELL Node.js versions, which means it won’t support Node 16, 17, and 19. The current LTS node version, 18, will be the baseline supported Vite 5, he said.

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Deno.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.