AI

Mojo, Bend, and the Rise of AI-First Programming Languages (venturebeat.com) 26

"While general-purpose languages like Python, C++, and Java remain popular in AI development," writes VentureBeat, "the resurgence of AI-first languages signifies a recognition that AI's unique demands require specialized languages tailored to the domain's specific needs... designed from the ground up to address the specific needs of AI development." Bend, created by Higher Order Company, aims to provide a flexible and intuitive programming model for AI, with features like automatic differentiation and seamless integration with popular AI frameworks. Mojo, developed by Modular AI, focuses on high performance, scalability, and ease of use for building and deploying AI applications. Swift for TensorFlow, an extension of the Swift programming language, combines the high-level syntax and ease of use of Swift with the power of TensorFlow's machine learning capabilities...

At the heart of Mojo's design is its focus on seamless integration with AI hardware, such as GPUs running CUDA and other accelerators. Mojo enables developers to harness the full potential of specialized AI hardware without getting bogged down in low-level details. One of Mojo's key advantages is its interoperability with the existing Python ecosystem. Unlike languages like Rust, Zig or Nim, which can have steep learning curves, Mojo allows developers to write code that seamlessly integrates with Python libraries and frameworks. Developers can continue to use their favorite Python tools and packages while benefiting from Mojo's performance enhancements... It supports static typing, which can help catch errors early in development and enable more efficient compilation... Mojo also incorporates an ownership system and borrow checker similar to Rust, ensuring memory safety and preventing common programming errors. Additionally, Mojo offers memory management with pointers, giving developers fine-grained control over memory allocation and deallocation...

Mojo is conceptually lower-level than some other emerging AI languages like Bend, which compiles modern high-level language features to native multithreading on Apple Silicon or NVIDIA GPUs. Mojo offers fine-grained control over parallelism, making it particularly well-suited for hand-coding modern neural network accelerations. By providing developers with direct control over the mapping of computations onto the hardware, Mojo enables the creation of highly optimized AI implementations.

According to Mojo's creator, Modular, the language has already garnered an impressive user base of over 175,000 developers and 50,000 organizations since it was made generally available last August. Despite its impressive performance and potential, Mojo's adoption might have stalled initially due to its proprietary status. However, Modular recently decided to open-source Mojo's core components under a customized version of the Apache 2 license. This move will likely accelerate Mojo's adoption and foster a more vibrant ecosystem of collaboration and innovation, similar to how open source has been a key factor in the success of languages like Python.

Developers can now explore Mojo's inner workings, contribute to its development, and learn from its implementation. This collaborative approach will likely lead to faster bug fixes, performance improvements and the addition of new features, ultimately making Mojo more versatile and powerful.

The article also notes other languages "trying to become the go-to choice for AI development" by providing high-performance execution on parallel hardware. Unlike low-level beasts like CUDA and Metal, Bend feels more like Python and Haskell, offering fast object allocations, higher-order functions with full closure support, unrestricted recursion and even continuations. It runs on massively parallel hardware like GPUs, delivering near-linear speedup based on core count with zero explicit parallel annotations — no thread spawning, no locks, mutexes or atomics. Powered by the HVM2 runtime, Bend exploits parallelism wherever it can, making it the Swiss Army knife for AI — a tool for every occasion...

The resurgence of AI-focused programming languages like Mojo, Bend, Swift for TensorFlow, JAX and others marks the beginning of a new era in AI development. As the demand for more efficient, expressive, and hardware-optimized tools grows, we expect to see a proliferation of languages and frameworks that cater specifically to the unique needs of AI. These languages will leverage modern programming paradigms, strong type systems, and deep integration with specialized hardware to enable developers to build more sophisticated AI applications with unprecedented performance. The rise of AI-focused languages will likely spur a new wave of innovation in the interplay between AI, language design and hardware development. As language designers work closely with AI researchers and hardware vendors to optimize performance and expressiveness, we will likely see the emergence of novel architectures and accelerators designed with these languages and AI workloads in mind. This close relationship between AI, language, and hardware will be crucial in unlocking the full potential of artificial intelligence, enabling breakthroughs in fields like autonomous systems, natural language processing, computer vision, and more.

The future of AI development and computing itself are being reshaped by the languages and tools we create today.

In 2017 Modular AI's founder Chris Lattner (creator of the Swift and LLVM) answered questions from Slashdot readers.
Transportation

Mercedes Is Adding ChatGPT To Its Infotainment System (techcrunch.com) 71

Mercedes is adding OpenAI's ChatGPT to its MBUX infotainment system. "U.S. owners of models that use MBUX will be able to opt into a beta program starting tomorrow, June 16, activating ChatGPT functionality," reports TechCrunch. "This will enable the highly versatile large language model to augment the car's conversation skills. You can join up simply by telling your car 'Hey Mercedes, I want to join the beta program.'" From the report: Mercedes describes the capabilities thusly: "Users will experience a voice assistant that not only accepts natural voice commands but can also conduct conversations. Soon, participants who ask the Voice Assistant for details about their destination, to suggest a new dinner recipe, or to answer a complex question, will receive a more comprehensive answer -- while keeping their hands on the wheel and eyes on the road."

If you're worried about privacy, you should be. Although Mercedes loudly expresses its concern over user data, it's clear that it retains and uses your conversations: "The voice command data collected is stored in the Mercedes-Benz Intelligent Cloud, where it is anonymized and analyzed. Mercedes-Benz developers will gain helpful insights into specific requests, enabling them to set precise priorities in the further development of voice control. Findings from the beta program will be used to further improve the intuitive voice assistant and to define the rollout strategy for large language models in more markets and languages."

Science

Quantum Laser Turns Energy Loss Into Gain (phys.org) 40

An anonymous reader quotes a report from Phys.Org: Scientists at KAIST have fabricated a laser system that generates highly interactive quantum particles at room temperature. Their findings, published in the journal Nature Photonics, could lead to a single microcavity laser system that requires lower threshold energy as its energy loss increases. The system, developed by KAIST physicist Yong-Hoon Cho and colleagues, involves shining light through a single hexagonal-shaped microcavity treated with a loss-modulated silicon nitride substrate. The system design leads to the generation of a polariton laser at room temperature, which is exciting because this usually requires cryogenic temperatures.

The researchers found another unique and counter-intuitive feature of this design. Normally, energy is lost during laser operation. But in this system, as energy loss increased, the amount of energy needed to induce lasing decreased. Exploiting this phenomenon could lead to the development of high efficiency, low threshold lasers for future quantum optical devices. [...] The key is the design and materials. The hexagonal microcavity divides light particles into two different modes: one that passes through the upward-facing triangle of the hexagon and another that passes through its downward-facing triangle. Both modes of light particles have the same energy and path but don't interact with each other. However, the light particles do interact with other particles called excitons, provided by the hexagonal microcavity, which is made of semiconductors. This interaction leads to the generation of new quantum particles called polaritons that then interact with each other to generate the polariton laser. By controlling the degree of loss between the microcavity and the semiconductor substrate, an intriguing phenomenon arises, with the threshold energy becoming smaller as energy loss increases.

Power

Researchers Solve Scientific Puzzle That Could Improve Solar Panel Efficiency (phys.org) 170

New solar panels created from a semiconducting material called cadmium telluride (CdTe) "have been found to produce electricity at lower costs than silicon panels and there has been a dramatic gain in efficiency brought about by adding an element called selenium to the cadmium telluride," reports Phys.Org. "Until now, it was not well understood why selenium increases efficiency but thanks to Tom Fiducia, a Ph.D. Research Student in the Center for Renewable Energy Systems Technology (CREST), and an international team of researchers, the puzzle has been solved." From the report: Their paper, titled "Understanding the role of selenium in defect passivation for highly efficient selenium-alloyed cadmium telluride solar cells," has revealed that selenium works by overcoming the effect of harmful, atomic-scale defects in CdTe panels. This explains the increase of efficiency as electrons (subatomic particles that carry electricity), which are generated when sunlight hits the solar panel, are less likely to be trapped and lost at the defects. This increases the amount of power extracted.

Tom, who is the lead author of the paper, says the team discovered this "unexpected" behavior by measuring how much light is emitted from selenium-containing panels. As selenium is not evenly distributed across the panels, they compared the 'luminescence' emitted from areas where there was little-to-no selenium present and areas where the selenium was very concentrated. Tom explained: "While it seems counter intuitive, good solar cell material that is defect-free is very efficient at emitting light, and so luminesces strongly. We mapped the luminescence emitted from a selenium-containing solar cell at a resolution of around 1/10,000th of a millimeter and compared it to a similarly high-resolution map of the selenium concentration taken on the exact same area of the cell. It is strikingly obvious when you see the data that selenium-rich regions luminesce much more brightly than the pure cadmium telluride, and the effect is remarkably strong."
The new-found knowledge could be used to increase the efficiency of cadmium telluride solar panels even further, says Tom. "For instance, this could be by simply increasing the amount of selenium in the devices or altering its distributions within the cell."
Books

Book Review: Assessing Vendors 27

benrothke writes "Every organization has external software, hardware and 3rd-party vendors they have to deal with. In many cases, these vendors will have direct access to the corporate networks, confidential and proprietary data and more. Often the software and hardware solutions are critical to the infrastructure and security of the organization. If the vendors don't have effective information security and privacy controls in place, your data is at risk. In addition, when selecting a product to secure your organization, how do you ensure that you are selecting the correct product? All of this is critical in the event of a breach. When the lawyers start circling, they will be serving subpoenas to your company, not your 3rd-party vendors." Keep reading for Ben's review.
Games

The Perils of Pointless Innovation In Games 260

Negative Gamer is running a story discussing the need felt by the major game developers to create the next huge blockbuster, which often leads to innovation and change for their own sake rather than simply focusing on what makes a game fun. Quoting: "There seems to be this invisible pressure to create something that is highly 'intuitive' and incorporates the highest level of innovation that we have ever seen. The problem is that the newest ideas put into games are either gimmicky, terrible in execution, or blatantly ripping off another title. On the other hand there are series that feel the need to completely revamp a game that played perfectly fine before into something completely new that falls flat on its face. ... There's a critical problem with popular, mainstream video games that isn't as large with other mediums; they are expensive to make and require a lot of time and effort put in to create something masterful. With that, games must take cautious paths. I fully understand the risks, but adding unneeded material to certain games is not justifiable."
Book Reviews

Running Xen 98

David Martinjak writes "Running Xen: A Hands-On Guide to the Art of Virtualization was published by Prentice Hall, and authored by Jeanna N. Matthews, Eli M. Dow, Todd Deshane, Wenjin Hu, Jeremy Bongio, Patrick F. Wilbur, and Brendan Johnson. The book, which will be referred to as simply Running Xen, was a great resource on Xen and virtualization from the administration side. A wide range of topics was covered from installing Xen all the way up to managing virtual resources, including migrating guest environments. Overall, the explanations were concise and understandable; while the information was presented in a straightforward manner. Running Xen was definitely a useful resource for administering systems with Xen." Keep reading for the rest of David's review.
Star Wars Prequels

Star Wars Roleplaying Game — Saga Edition 206

A long time ago, in a galaxy far, far away, a ... company called Wizards of the Coast abandoned Star Wars fans who enjoyed their tabletop roleplaying game to an awful fate: product death. The Star Wars d20 product line, which saw print from 2000 to late 2004, attempted to capture the epic adventure that is the Star Wars setting within a simple quantifiable ruleset. Unfortunately, the d20 rules (circa 2000) were far too clumsy to make the RPG 'feel' like Star Wars. Even a 2002 Revised Core Rules book did little to create an intuitive play experience. Now, in time for the setting's 30th anniversary, Wizards has released a brand new edition of the rules, marking a relaunch of the product line. Dubbed the 'Saga Edition', it has completely revamped the d20 rules to meet with demands for Star Warsyness. Read on for a review of the changes, which may finally bring the fun to the galaxy far, far away.
Role Playing (Games)

Lord of the Rings Online Review 351

The circle is now complete. With Turbine's release of Lord of the Rings Online: The Shadows of Angmar (LOTRO), the Massively Mutliplayer game figuratively eats the tail of its originator in ouroboros-like fashion. Tolkien's work begat Dungeons and Dragons, the PC gaming market, CRPGs, and finally Massive games, and last month's release of LOTRO beautifully reconnects the future with the past. Replacing dice-wielding friends around a table has even, wonder of wonders, been done well. Polished gameplay and cutting-edge graphics abound; In direct contrast to the lackluster response to Turbine's other MMOG, Dungeons and Dragons Online, Lord of the Rings Online has had an overwhelmingly positive reaction from fans. Read on for my notes from the experience of trying on Hobbit feet for a month, and a few words about why LOTRO's quality is notable and highly encouraging.
Google

Making Sense of Census Data With Google Earth 65

mikemuch writes "Imran Haque has developed a mashup of Google Earth with data from the U.S. Census Bureau, called gCensus. The app uses the XML format known as KML (Keyhole Markup Language), which can create shapes and colors on the maps displayed by GE. Haque had to build custom code libraries (which he's made available as open source) that could generate KML for the project. He also had to extract the relevant data from the highly counter-intuitive Census Bureau files and store them in a database that could handle geographic data. gCensus lets you do stuff like create colorful overlays on maps showing population ages, race, and family size distributions."

Dungeons, Cities, and Psionics 177

It's time to check in with the table-top scene, with a slew of products from earlier this year. With one exception, everything I have to discuss today is from Wizards of the Coast (WotC). The well-known maker of Dungeons and Dragons is having a banner year, a year they've been referring to as the 'Year of Dragons'. Their draco-specific products will get a look here on the site in a month or two, and later this month I should have a full report on the 4th Edition of the Shadowrun RPG. Today, though, we've got demons, psionics, epic-level play, and a second Player's Handbook. Oh yeah, and a 670-page, $120 sourcebook called Ptolus. Read on for my impressions of these great excuses to throw a d20.

Gen Con 2006 in a Nutshell 89

Another year, another trip into the heart of dorkness. Gen Con Indy 2006 was marked, not so much by the big releases (because there weren't that many this year), but by changes in the wind. Several newer systems were in their second year, garnering praise for their continued quality. Some games that we saw last year weren't even around this year. Others were just not doing as well as their creators would have hoped. The focus, though, was entirely on the games ... and next year's convention. The talk in the halls and on the exhibit hall floor, when not about dice and mechanics, surrounded what Gen Con will be like next year and the changes that videogames will bring to the event. Read on for my comments about what I saw this year, what worked, what didn't, and a few words on what might result from next year's changes.
Media

New Media Experience Coming to PSP 49

The Guardian Gamesblog discusses the announcement that a Metal Gear Solid digital comic is in the works for the PSP. There's also going to be a title called 'The Silent Hill Experience', which will be a sort of guide to the series. From the post: "Designed to offer a comprehensive guide to all things Silent Hill, The Silent Hill Experience combines a number of media formats to give a compelling overview of the horror series. Using an intuitive 3D interface, users can view all-new Silent Hill digital interactive comics, listen to music from the four games in the series, and watch exclusive video content. The Silent Hill Experience also features an interview with Christophe Gans, the Director of the highly anticipated Silent Hill movie, starring Radha Mitchell and Sean Bean." Nice that they're finally doing something defining with the console.
Role Playing (Games)

Review: Dragon Quest VIII 245

Most modern single-player RPGs have changed quite a bit since the early days of the NES. Real-time combat and epic story arcs have allowed the traditionally hardcore RPG market to draw in new fans who may not otherwise want to invest 100+ hours on a single title. Square Enix, the company that founded the genre, spits in the eye of progress with Dragon Quest VIII. This traditional dungeon delve has an old-school heart with a beautiful current-generation exterior. Read on for my impressions of the latest chapter in the mind-numbingly popular Dragon Quest series.
Portables (Games)

Review: Mario Kart DS 349

It would be an understatement to say that Nintendo's signature character, the shell-stomping princess-saving Mario, needs no introduction. He's a world-wide phenomenon and has appeared in enough game spin-offs to spawn a genre of his own. The title that just keeps coming back, though, is Mario Kart. The irreverent and addictive combat racing gameplay is just as enjoyable today on Nintendo's Dual-Screen wonderkind as it was on the SNES. Read on for my impressions of another powerhouse title featuring the mustachioed multitalented plumber.
Programming

Beginning AppleScript 171

norburym writes "AppleScript: The Missing Manual by Adam Goldstein is part of the Missing Manual series of beginner/intermediate books published by Pogue Press/O'Reilly and Associates. This series focuses on computer products that have been released without adequate printed manuals (Mac OS X, iLife '04, Google, iPod and iTunes, Windows XP, Windows 2K, among others). I would venture that this also applies to most major software releases, which should keep Mr. Pogue, O'Reilly and their contributing authors busy for quite some time. Their newest release, AppleScript: The Missing Manual, is a welcome addition to their catalog of smart, funny and user-friendly books." Read on for the rest of Norbury-Glaser's review.

Review: World of Warcraft 602

Announced at the European Computer Trade Show in September of 2001, before Warcraft III had even reached retail shelves, Blizzard's Massively Multiplayer Online Roleplaying Game has commanded attention for years. World of Warcraft is a fantasy game like no other, with a unique spin on the genre and an intense attention to detail. The game was released last week after a six month long beta test capped off with a tremendous 500,000 person open testing period. Read on for my impressions of World of Warcraft as the game stands at Launch.
Programming

Struts Survival Guide 113

Wilson Fereira writes "The Jakarta Struts framework is undoubtedly the most popular MVC framework for developing web applications in J2EE. A lot of books have emerged to satisfy the appetite of avid Struts reader including the two famous books from O'Reilly and Manning Publications. Struts Survival Guide: Basics to Best Practices (SSG) is a new addition to the already growing list of Struts books. SSG is from a new comer in the publishing business - ObjectSource Publications." Read on for the rest of Fereira's review.
Microsoft

How Would You Move Mount Fuji? 1247

adamba writes: "Why are manhole covers round?" "How many gas stations are there in the United States?" "How would you design a remote control for venetian blinds?" "What company is famous for interview questions like those?" You might not know the answer to the first three questions, but you probably know the last one. The notion of asking "Microsoft interview questions," quick logic puzzles and brainteasers, has become accepted wisdom for many technology companies. In comparison, the questions asked during traditional interviews, such as "Describe your typical day" and "What is your greatest weakness?" seem too simplistic, too easy to handle with a prepared answer, too prone to allowing weak candidates to slip through: they simply don't reveal enough about the person. While the Microsoft questions appear to be a better way to evaluate people, the issue has never really been seriously examined. Microsoft's success would seem to make the argument pointless: Can $250 billion in market capitalization be wrong?" Read on for an interesting look at the details and justifications for this kind of interview.
Television

Alton Brown Answers, At Last 521

We knew this was going to take a while -- it turned out to be just about one month since the question post -- due to some show-taping problems Alton had. He was kind enough to warn us about the delay, a warning regular Slashdot Interview readers picked up. Anyway, here we go. (Warning: Reading this interview may cause hunger.)

Slashdot Top Deals