TNS
VOXPOP
Where are you using WebAssembly?
Wasm promises to let developers build once and run anywhere. Are you using it yet?
At work, for production apps
0%
At work, but not for production apps
0%
I don’t use WebAssembly but expect to when the technology matures
0%
I have no plans to use WebAssembly
0%
No plans and I get mad whenever I see the buzzword
0%
AI / Frontend Development / JavaScript / Software Development

Dev News: Svelte 4, Deno Update, AWS AI Fund, Figma Dev Mode

What's new with Svelte 4, full-stack Deno framework Fresh gets a new maintainer, Figma's new developer mode, AWS AI fund, and more LLM news!
Jun 24th, 2023 4:00am by
Featued image for: Dev News: Svelte 4, Deno Update, AWS AI Fund, Figma Dev Mode
Photo via Unsplash

The stable release of Svelte 4 came out this week, a mainly maintenance release that sets the stage for Svelte 5, according to a blog post announcing the release. The latest release takes advantage of some improvements in Node.js and browser APIs, the post noted.

The new release also results in smaller and faster hydration code, the post stated. For example, on kit.svelte.dev the JS generated across the whole site was reduced in size by 12.7%, or from 126.3 kB to 110.2 kB.

Svelte 4 reduces the Svelte package size by nearly 75%, down to 2.8 MB, which the team pointed out means less time waiting on npm install.

“This improvement will be especially noticeable for users who are loading our interactive learning experience on learn.svelte.dev for the first time, users of the Svelte REPL, and users with limited connectivity,” the post stated. “The majority of the remaining package size is eslint support, which necessitates distributing a CJS build, and once the eslint rewrite is completed the Svelte package size can drop by over another 50%.”

In addition, the number of dependencies has been reduced from 61 to 16, which means faster downloads as well as less susceptibility to supply chain attacks.

The plan was to switch the underlying code from TypeScript to JavaScript (yes, you read that right — we triple-checked), but that seems to have shifted to Svelte 5, since the post noted: “Svelte 5 will be a rewrite of the Svelte compiler and runtime.” The post added that Svelte 4 was mainly about setting the ground for these future improvements, by modernizing tooling and dropping support for some legacy technology versions, such as older bundlers.

Fresh Updates from Deno

Users of Fresh, a new full-stack web framework for Deno, have apparently been questioning whether the Deno team is maintaining it: Fresh creator Luca Casonato announced this week that Marvin Hagemeister will take over as the Fresh project lead full-time, replacing Casonato.

“… there’s been one elephant in the room — is Fresh something that the Deno team is actually committed to maintaining? When you’ve asked, we’ve always said “Yes!”, but reality was more complicated,” Casonato wrote. “We started April with over 60 open (and unreviewed) pull requests on the Fresh repo — we were not keeping up with maintenance to the level you’re used to from the Deno runtime project.”

Hagemeister is a maintainer of React, the builder of Preact DevTools, and “speeder upper of the JavaScript ecosystem,” for which he increased the speed of npm scripts from 400ms overhead to 22ms, Casonato added.

Casonato also digs into the new features of Fresh 1.2, which includes:

  • Simplified testing
  • Passing signals, Uint8Arrays, and circular data in island props
  • Passing JSX to islands and nesting islands within each other
  • Limited support for npm: specifiers
  • Support for custom HEAD handlers
  • Status and header override for HandlerContext.render
  • Subdirectories in the ./islands folder
  • Async plugin rendering

Figma Launches Dev Mode

Figma held its annual Config conference this week in San Francisco, and the focus was bridging the gap between design and development. Figma announced new products and features as part of the conference, including Dev Mode, a dedicated space for developers to work with designers on translating designs into code.

“With Dev Mode, designers and developers can work in different modes on the same designs in the same file, making it easier for developers to get the information they need and eliminating the need for version updates and extra communication,” the announcement stated.

Dev Mode in Figma

Image via Figma

Among the capabilities Dev Mode incorporates are:

  • Navigating files in Dev Mode to understand design. Developers can hover and click objects to get measurements, specs, styles and assets.
  • Generating production-ready CSS, iOS and Android code snippets.
  • Connecting to tools and codebase with plugins from Jira, GitHub, Storybook and others to automate workflows.
  • Linking design systems in Figma to component code and documentation to keep sources of truth in sync.
  • Incorporating Figma for VS Code to inspect Figma files, collaborate with designers, and receive Figma notifications without leaving the code editor.
  • Tracking design status with labels to organize design files that are ready for development and compare changes.

Dev Mode is currently in open beta and free to try through 2023.

AWS Launches New Generative AI Innovation Center

Amazon Web Services announced Thursday a new program to help customers build and deploy generative artificial intelligence (AI) solutions. AWS is investing $100 million in the program, called the Generative AI Innovation Center. The team includes strategists, data scientists, engineers and solution architects who will help customers interested in building an AI solution. AWS also is offering free workshops, engagements and training to help customers come up with ideas and scope use case for their business.

“Customers will work closely with generative AI experts from AWS and the AWS Partner Network to select the right models, define paths to navigate technical or business challenges, develop proofs of concepts, and make plans for launching solutions at scale,” the press release noted. “The Generative AI Innovation Center team will provide guidance on best practices for applying generative AI responsibly and optimizing machine learning operations to reduce costs.”

Engagements will also leverage a variety of AWS AI tools, including Amazon’s code prediction tool, CodeWhisperer; Amazon’s high-performance infrastructure; Amazon SageMaker for building, training and deploying models; and Amazon Bedrock, a fully managed service that makes foundational models from AI221 Labs, Anthropic, Stability AI, and Amazon Titan accessible through an API. They can also use SageMaker Jumpstart to deploy popular foundational models, such as including Cohere’s large language models, Technology Innovation Institute’s Falcon 40B, and Hugging Face‘s BLOOM.

Free LLMs for Developers Course

Vector database company ActiveLoop is collaborating with Intel and AI learning community TowardsAI to launch free educational certification courses for developers on large language models; Deep Lake, a vector database for AI data; and LangChain, a framework for developing applications powered by language models. The certification program is part of the Deep Lake Foundational Model certification program.

The first installment of the course combines a comprehensive overview of foundational model theory and practical projects with LangChain and Deep Lake, equipping AI developers with the tools they need to apply large language models across industries.

The course is designed to be a practical one, to help engineers start AI in their own company processes or use foundational models to build entirely new products, said Louie Peters, CEO of Towards AI.

Group Created with Sketch.
TNS owner Insight Partners is an investor in: Deno.
THE NEW STACK UPDATE A newsletter digest of the week’s most important stories & analyses.