×
Programming

Why Aren't More Developers Using Rust? (zdnet.com) 341

An anonymous reader quotes ZDNet: Rust has been voted the "most-loved" programming language by developers on Stack Overflow for four years in a row. But the Rust project now admits it has an adoption problem among developers and organizations. Rust's adoption issue surfaced in January's Stack Overflow's 2019 survey, which revealed that despite developers' positive feelings toward Rust, 97% of them hadn't actually used it.

Rust maintainers have now explored the adoption challenges in their latest annual survey of nearly 4,000 developers across the world...

Asked why developers have stopped using Rust, the most common response is that the respondent's company doesn't use it, suggesting an adoption issue. Other common reasons are the learning curve, a lack of necessary libraries, and a lack of integrated development environment (IDE) support. The top issues that respondents say the Rust project could do to improve adoption of the language are better training and documentation, followed by better libraries, IDE integration, and improved compile times... "Most indicated that Rust maturity — such as more libraries and complete learning resources and more mature production capabilities — would make Rust more appealing," the project noted....

"The results show the overriding problem hindering use of Rust is adoption. The learning curve continues to be a challenge — we appear to most need to improve our follow-through for intermediate users — but so are libraries and tooling."

The article also notes that Rust is popular with some developers at Microsoft, "who are experimenting with Rust to reduce memory-related bugs in Windows components written in C and C++."
Python

Python 2's Core Devs Say 'Fond Farewell' While Releasing Its Final Version (blogspot.com) 97

This week Python's core developer blog announced the very last production release of Python 2.7. Hackaday reports: The intention was for it to coincide with PyCon 2020, but just like so many of the events planned for the first half of the year, the in-person conference had to be canceled in favor of a virtual one due to the COVID-19 epidemic. That might have stymied the celebration somewhat, but the release of Python 2.7.18 will still be looked on as a special moment for everyone involved.
"Thank you @gutworth for being the 2.7 release manager during 11 long years," Guido van Rossum announced on Twitter.

"It's time for the CPython community to say a fond but firm farewell to Python 2," reads the announcement on the core developer's blog. Python 2.7 has been under active development since the release of Python 2.6, more than 11 years ago. Over all those years, CPython's core developers and contributors sedulously applied bug fixes to the 2.7 branch, no small task as the Python 2 and 3 branches diverged.

There were large changes midway through Python 2.7's life such as PEP 466's feature backports to the ssl module and hash randomization. Traditionally, these features would never have been added to a branch in maintenance mode, but exceptions were made to keep Python 2 users secure. Thank you to CPython's community for such dedication.

Python 2.7 was lucky to have the services of two generations of binary builders and operating system experts, Martin von Löwis and Steve Dower for Windows, and Ronald Oussoren and Ned Deily for macOS. The reason we provided binary Python 2.7 releases for macOS 10.9, an operating system obsoleted by Apple 4 years ago, or why the "Microsoft Visual C++ Compiler for Python 2.7" exists is the dedication of these individuals.

Python 3 would be nowhere without the dedication of the wider community. Library maintainers followed CPython by maintaining Python 2 support for many years butalso threw their weight behind the Python 3 statement. Linux distributors chased Python 2 out of their archives. Users migrated hundreds of millions of lines of code, developed porting guides, and kept Python 2 in their brain while Python 3 gained 10 years of improvements.

Finally, thank you to GvR for creating Python 0.9, 1, 2, and 3.

Long live Python 3+!

Software

Google's Flutter: 2 Million Developers, Uptick In Enterprise Use, New Release Model Revealed (zdnet.com) 27

Liam Tung writing via ZDNet: Google says two million developers have used its Flutter user-interface (UI) framework for building apps targeting mobile, desktop, and the web since declaring it production ready at Google I/O 2018. Flutter is on the rise, according to Google's Tim Sneath, who said Flutter use grew 10% in March compared with February -- despite COVID-19 coronavirus pandemic impediments. He added that the UI framework now has "nearly half a million" developers who use it on a monthly basis. Most of them are also building on Windows, with 60% of Flutter users developing on Windows 10 PCs, 27% on macOS, and 13% on Linux. Google says over a third of Flutter users work at a startup, while 26% are developers working in the enterprise, 19% are self-employed, and 7% work for design agencies. There are also now 50,000 Flutter-built Android apps on the Google Play Store, and 10,000 of those were uploaded in the past month, according to Sneath.

Google is also updating the release process for Flutter to improve the stability and predictability of its releases. Google found that Flutter contributors and developers didn't understand when a release would be built and what code it would contain. Another issue is a lack of testing for branches, which means sporadic hotfix releases to address regressions or bugs, which also run the risk of introducing new bugs. Google is now moving to a branching model for Flutter, which commences with the April release and includes a "stabilization period" for the beta and stable releases to address key bugs that have been selected by reviewers. Google will also align the Flutter and Dart release processes and channels. This means Dart now has a beta channel, and it will be aligned with the Flutter beta channel.

IOS

Devs Might Be Able To Write Software On iPad, iPhone With Xcode For iOS (cultofmac.com) 77

macOS and iOS software developers will soon be able to code on an iPad or even iPhone, if an unconfirmed report is correct. iPadOS 14 and the iPhone equivalent will reportedly include support for Xcode, Apple's software development environment. Cult of Mac reports: This report comes from Jon Prosser, founder of YouTube channel Front Page Tech, who recently correctly predicted the launch date of the 2020 iPhone SE. On Monday, Prosser said via Twitter "XCode is present on iOS / iPad OS 14. The implications there are HUGE." Whenever anyone suggests that iPads have become as powerful as MacBooks, someone always asks, "Does it do Xcode?" The implication is that iPads are just toys -- only Macs are real computers. But if Prosser is correct, then devs will be able to use iPad or Mac, whichever they prefer. This is part of Apple steadily upgrading the capabilities of its tablets over years, especially the iPad Pro line. These now have USB-C ports, support for accessing external media, mouse support, etc. And top-tier iPad processors as powerful as Apple laptops.
Programming

Hacking the Pandemic: Global Research Community Gathers Online Against COVID-19 (elixir-europe.org) 11

Long-time Slashdot reader DrYak writes: Over 500 scientists, software developers and clinicians joined forces in the COVID-19 virtual Biohackathon to develop new tools for working with the COVID-19 data. The outcomes of the event improved the accessibility of data, protocols, analysis pipelines and provided dedicated compute resources to execute demanding data analysis tasks.

The COVID-19 Biohackathon was an online event from 5 to 11 April, initiated by Pjotr Prins (USA), Tazro Ohta (Japan) and Leyla Garcia (Germany). It had similar objectives and structure as the face-to-face BioHackathons spearheaded in Japan and recently adopted in Europe by ELIXIR. Participants were working in separate groups and presented their activities in a series of plenary webinar sessions. More than 20 different projects joined the event, many of which were led by members from ELIXIR Nodes.

The results from this biohackathon will get mini publications on the preprints server BioHackrXiv

ELIXIR (the European life-sciences Infrastructure for biological Information) is an initiative that allows life science laboratories across Europe to share and store their research data as part of an organised network.

Disclaimer: our group developed one of the deep sequencing analysis bioinformatics pipelines presented there.

I, for one, welcome our new Linux-running, Beowulf-clustered bioinformatics overlords.

Programming

GitHub Is Now Free For All Teams (techcrunch.com) 30

GitHub today announced that all of its core features are now available for free to all users, including those that are currently on free accounts. TechCrunch reports: That means free unlimited private repositories with unlimited collaborators for all, including teams that use the service for commercial projects, as well as up to 2,000 minutes per month of free access to GitHub Actions, the company's automation and CI/CD platform. Teams that want more advanced features like code owners or enterprise features like SAML support will still have to upgrade to a paid plan, but those now start at $4 per month and user for the Teams plans instead of the previous $9, with the Enterprise plan starting at $21 per month and user.
Programming

Cobol Programmers Heed the Call to Support America's Overloaded Unemployment Systems (ieee.org) 113

Earlier this week Slashdot reader puddingebola shared a CNN story headlined "Wanted urgently: People who know a half century-old computer language so states can process unemployment claims..."

But now IEEE Spectrum reports that "Cobol programmers in the United States are heeding the call to work on antiquated state unemployment benefits computer systemsâ¦" The new claims brought the three-week total to more than 16 million, the equivalent of a tenth of the U.S. workforce. The spike in new claims has inundated benefits computer systems in states such as Connecticut, Florida, and elsewhere, some of which haven't updated their Cobol-based mainframe systems in years, or decades...

New Jersey isn't alone. Florida's unemployment claims system has been so overwhelmed, the state is reverting to using paper applications. Massachusetts deployed more than 500 new employees to work remotely to meet increased demand that has overloaded its unemployment system... Connecticut's labor department is bringing back retirees and using IT staff from other departments to upgrade its 40-year-old system, which runs on a Cobol mainframe and connected components.

One company that says it reached out to New Jersey was the Texas-based "Cobol Cowboys" placement agency, with nearly 350 contractors, including a man in his mid-80s "who did some work with Grace Hopper." Also helping is U.S. Digital Response, a new group hoping to find skilled volunteers with technical skills for government agencies.

The article notes estimates that Cobol still handles 95% of all ATM swipes and 43% of banking systems.
Programming

TIOBE Suddenly Ranks 'Scratch' as the 20th Most Popular Programming Language (jaxenter.com) 57

Python knocked C++ out of the top 3 on TIOBE's index of the most popular programming languages this month, while C# rose into the #5 position, overtaking Visual Basic.

But the biggest surprise was when last month's #26 most popular programming language suddenly jumped six spots into the #20 position, writes the CEO of TIOBE Software. "At first sight this might seem a bit strange for a programming language that is designed to teach children how to program." But if you take into account that there are in total more than 50 million projects "written" in Scratch and each month 1 million new Scratch projects are added, it can't be denied any more that Scratch is popular...

Since computers are getting more and more an integral part of life, it is actually quite logical that languages to teach children programming are getting popular.

TIOBE notes that Scratch is sponsored by major tech companies like Google and Intel (as well as the Cartoon Network and LEGO Foundation). But Jaxenter also applauds how the Scratch interface lets users remix or comment on existing projects in addition to sharing their own: The community not only introduces children to teamwork, creative problem solving, logical thinking, and collaboration, but it also introduces concepts such as open source communities and code review. They will learn concepts that might later become useful in Agile software development and DevOps.
TIOBE bases its rankings on the number of search engine results for courses, third party vendors, and programmers -- making the programming news site DevClass wonders if the spike came from "school aged children...stuck at home while schools are closed."

TIOBE still shows Java as the #1 most popular programming language (followed by C, Python, and C++). And this month's index also shows PHP rising into the #9 position -- overtaking SQL.

And COBOL is now #26 on the list, making it more popular than Rust.
Programming

IBM Rallies COBOL Engineers To Save Overloaded Unemployment Systems (medium.com) 116

As millions file for unemployment benefits in the United States every week, states' aging computer systems simply cannot keep up. States like New Jersey and Connecticut have said they are desperate for programmers who are still familiar with COBOL, a programming language that debuted in 1960 and is still used in critical computer systems like unemployment databases and banks. But there aren't many who know COBOL programming anymore. IBM, the leading provider of mainframes typically used to compile and run COBOL code, is trying to help bridge that gap. From a report: On Friday, IBM announced it was launching a free training program to teach coders COBOL as well as new forums to match those who know the language with those who need help maintaining their critical systems. The COBOL course will teach coders how to use the language in Microsoft's popular VSCode software and will be available next week. Next month, IBM says it will release a more fully fledged video COBOL course on online learning platforms like Coursera. The two forums that IBM has launched live on the Linux Foundation's Open Mainframe Project website. One of the forums, Calling all COBOL Programmers, has had dozens of engineers sign up in the last 24 hours from around the world. The other forum is more technical in nature, where coders can pose specific COBOL questions and work through projects with experts.
Programming

New Jersey Desperately Needs COBOL Programmers (josephsteinberg.com) 185

In New Jersey, the coronavirus outbreak has resulted in something that few people outside that state's tech department would have foreseen: a dire need for COBOL coders. From a report, shared by reader AmiMoJo: Standing for Common Business-Oriented Language, COBOL's day came and went long ago. It initially made a splash by giving coders a programming language that could work across the proprietary computers of multiple manufacturers. That was in the early 1960s. After becoming a staple of mainframes, it eventually came to represent dusty legacy code, including during the Y2K crisis 20 years ago. In New Jersey, experts are now needed to fix COBOL-based unemployment insurance systems -- more than four decades old -- that are overwhelmed due to pandemic-related job losses. At a press conference yesterday, governor Phil Murphy asked for the help of volunteer coders who still knew how to work in COBOL. Of course, as cyber-security expert Joseph Steinberg noted on his blog, such volunteers are likely well over 60 years old, making them especially vulnerable to Covid-19.
Cloud

Unqork CEO: Anything Java Coders Can Do, No-Code Can Do 200x Faster (cnbc.com) 206

Here's some interesting thoughts from long-time Slashdot reader theodp: CNBC reports that the next frontier in the Microsoft, Google, Amazon cloud battle is over a world without code.

Google recently acquired no-code app development platform AppSheet, Microsoft just launched a new public preview of its low-code Power Apps mobile app for iOS and Android, and there is speculation about an 'Amazon for Everyone' product from AWS. "Anything a Java developer or engineer can build using custom code, we can do it 200 times faster," boasted Unqork CEO Gary Hoberman, whose no-code company raised $131 million in its latest funding round from investors that included Alphabet.

The promise of no-code development platforms has been touted for decades — is it different this time?

China

Attack Campaign Hits Thousands of MS-SQL Servers For Two Years (csoonline.com) 33

"In December, security researchers noticed an uptick in brute-force attacks against publicly exposed Microsoft SQL servers," reports CSOnline.

"It turns out the attacks go as far back as May 2018 and infect on average a couple thousand database servers every day with remote access Trojans and cryptominers."

Slashdot reader itwbennett writes: While the primary goal of the attack seems to be cryptocurrency mining, "what makes these database servers appealing for attackers apart from their valuable CPU power is the huge amount of data they hold," say researchers from Guardicore who investigated the attacks. The researchers also note that most machines (60%) stay infected only briefly, but "almost 20% of all breached servers remained infected for more than a week and even longer than two weeks," and 10% become reinfected...

[T]he attackers aggressively remove malware from competitors from targeted machines.

Many of the infected machines are located in America, India, South Korea, and Turkey, according to the article, which adds that the researchers traced the campaign back to China.

"The scans and attacks originate from Chinese IP addresses -- likely associated with infected and hijacked machines -- and the command-and-control servers are also hosted in China and use Chinese language for their web-based management interfaces."
Programming

Eclipse Foundation Unveils Open Source Alternative to Microsoft's 'Visual Studio Code' IDE (sdtimes.com) 67

"The Eclipse Foundation just released version 1.0 of an open-source alternative to Visual Studio Code called Eclipse Theia," reports SD Times: Theia is an extensible platform that allows developers to create multi-language cloud and desktop IDEs, allowing them to create entirely new developer experiences.

According to the Eclipse Foundation, the differences between Theia and Visual Studio Code are that Theia has a more modular architecture, Theia was designed from the ground to run on desktop and cloud, and Theia was developed under community-driven and vendor-neutral governance of the Eclipse Foundation. The Theia project was started by Ericsson and TypeFox in 2016, and since then it has become an integral part of cloud solutions globally. The project approached the Eclipse Foundation about becoming a potential host in 2019.

Early contributors to the project include ARM, Arduino, EclipseSource, Ericsson, Google Cloud, IBM, Red Hat, SAP, and TypeFox.

"We are thrilled to see Eclipse Theia deliver on its promise of providing a production-ready, vendor-neutral, and open source framework for creating custom and white-labeled developer products," announced Mike Milinkovich, the Eclipse Foundation's executive director. "Visual Studio Code is one of the world's most popular development environments. Not only does Theia allow developers to install and reuse VS Code extensions, it provides an extensible and adaptable platform that can be tailored to specific use cases, which is a huge benefit for any organization that wants to deliver a modern and professional development experience. Congratulations to all the Theia committers and contributors on achieving this milestone."

InfoWorld points out that "thus far Theia is intended to be fitted into third-party products. An end-user version is on the roadmap for release later this year."

But programming columnist Mike Melanson notes that "Chances are, you've already run into Theia without even realizing it, as it already serves as the basis for Red Hat's CodeReady Workspaces, the Eclipse Foundation's own Eclipse Che, and Google Cloud Shell."
Databases

The ACM Digital Library Is Now Open Access During Coronavirus Pandemic (acm.org) 32

The Association for Computing Machinery (ACM) has made the ACM Digital Library open access to help support the computing community during the coronavirus pandemic. Founded in 1947, the ACM is the world's largest scientific and educational computing society and publishes over 50 journals, including the prestigious Journal of the ACM, and two general magazines for computer professionals, Communications of the ACM and Queue.

"We believe that ACM can help support research, discovery and learning during this time of crisis by opening the ACM Digital Library to all," writes ACM President Cherri Pancake in a letter on ACM.org. "For the next three months, there will be no fees assessed for accessing or downloading work published by ACM. We hope this will help researchers, practitioners and students maintain access to our publications as well as increasing visibility and awareness of ACM's journals, proceedings and magazines."

The ACM DL will continue to be open through June 30, 2020. "This global health crisis is a unique challenge that has impacted many ACM members," adds Pancake. "We would like to express our concern and support for all who are affected by this outbreak."
Programming

How Devs Can Help Beat the COVID-19 Pandemic (thenewstack.io) 40

The state of New York hopes to "amplify" its response to COVID-19 by launching tech-driven products with top companies, and it's looking for professional volunteers with experience in software development, hardware deployment/end-user support, and data science (as well as areas like product management, design, operations management).

Meanwhile, IBM's 2020 "Call for Code Global Challenge" is a virtual hackathon with a $200,000 prize, and they've now "expanded its focus" to include the effects of COVID-19.

Tech columnist Mike Melanson writes: But this is just the beginning of the COVID-19 hackathon boom, which now includes efforts organized by tech giants, state governments, and grassroots initiatives alike. For example, the World Health Organization got together with technology companies and platforms such as AWS, Facebook, Giphy, Microsoft, Pinterest, Salesforce, Slack, TikTok, Twitter and WeChat to launch the COVID-19 Global Hackathon 1.0, which is running as we speak with a deadline for submissions of March 30th at 9 AM PST. If you're too late, fret not, for there are many more, such as the CODEVID-19 hackathon we mentioned last week that has a weekly rolling deadline. And deadlines aside, the U.S. Digital Response for COVID-19 is working to pair technology, data, and government professionals with those who need them, in a form of nationwide, technological mutual aid...

[T]he COVID-19 open-source help desk is "a fast-track 'stack overflow' where you can get answers from the very people who wrote the software that you use or who are experts in its use." And if you happen to be either an open source author or expert, feel free to pitch in on answering questions...

On the open data side of things, for example, GitHub offers a guide on open collaboration on COVID-19, while StackOverflow looks at the myriad ways to help the fight against COVID-19 from home. ProgrammableWeb has a list of developer hackathons to combat COVID-19, and even the Golang team offers some guidance for Go, the Go community, and the pandemic, with Erlang also joining in.

Chrome

Google To Resume Chrome Updates it Paused Last Week Due To COVID-19 (zdnet.com) 10

An anonymous reader shares a report: Google paused Chrome updates last week when it canceled the Chrome 81 release in order to avoid causing severe disruptions to web developers, system administrators, and its own engineers, most working from home or having resources strained due to ever-worsening coronavirus (COVID-19) outbreak. In a blog post on the Chrome blog today, Google said it is now ready to resume work on Chrome. The company said that starting next week, the current Chrome 80 release will start receiving security updates once again. Chrome v81, initially scheduled to be released on March 17, was rescheduled for April 7, at which time, web developers and system administrators would have had the time to adapt to their new working conditions.
Businesses

Apple's App Store Rules Limit Rival Gaming Services While Arcade Runs Free (bloomberg.com) 40

Video-game fans suddenly have their pick of a huge menu of titles thanks to a raft of new mobile subscription services from Apple, Microsoft, Alphabet's Google and Nvidia. But for the more than 1 billion users of Apple's iPhone and iPad, the only real option is Arcade, the subscription service launched by the company in September. From a report: That's because Apple imposes strict limits on the kinds of apps users can access on its devices. For example, App Store guidelines ban services that rely on streaming from the cloud. Arcade adheres to the requirements, in part, because it's included as a feature within the App Store itself. This is the latest example of what critics say are arbitrary rules favoring Apple's own apps at the expense of similar software from outside developers. "There's a fraught relationship between developers and Apple precisely because of rules like this," said David Barnard, a longtime independent developer and advocate at RevenueCat. "In some ways, I am incredibly grateful to their marketplace for helping me make millions of dollars I wouldn't have made without it. On the flip side, them being so heavy handed at times does kill apps and does cause developers to miss out on other potential revenue." If software developers want to reach as many consumers as possible, they have to be on Apple's iOS. The operating system powers more than 1 billion smartphones and tablets and it's the only way to access the iOS App Store, which accounted for 65% of app spending globally last year, according to Sensor Tower. The Cupertino, California-based company can also make or break mobile gaming businesses: More than half of the $62 billion spent on smartphone gaming last year happened on Apple products.
Oracle

Oracle Announces Java 14 (zdnet.com) 54

Java "remains the world's most popular programming language," notes ZDNet, reporting on Oracle's release this week of Java Development Kit (JDK) 14, Oracle's "reference implementation of the Java 14 programming language spec." Rolling out in line with Oracle's six-monthly release schedule that began with Java 9 in 2017, JDK 14 includes enhancements that Oracle says will improve developer productivity... According to Georges Saab, Oracle vice president of development for the Java Platform, the faster six-monthly releases are helping developers adopt new features more rapidly due to regular expected changes. Java 9, for example, was released more than three years after Java 8...

Saab notes that major improvements in JDK 14 include a Foreign-Memory Access API enhancement (JEP 370), and improvements from Project Amber, another OpenJDK project, including Pattern Matching (JEP 305) and a preview of Records (JEP 359). Oracle JDK 14 will receive at least two quarterly updates in line with Oracle's critical-patch update schedule before Java 15 is released in September 2020.

Oracle is providing Java 14 as the Oracle OpenJDK release under an open-source GNU General Public License v2. It's also released under a commercial license using Oracle JDK. Most of the nearly 2,000 fixes in JDK 14 have been made by Oracle employees while 528 came from individual developers and other organizations. Some of the main contributors included Red Hat, SAP, Google, Arm, Intel, and NTT Data.

The Courts

Google vs. Oracle Case Postponed Due to Coronavirus (inside.com) 18

An anonymous reader quotes the Dev newsletter from Inside.com: The U.S. Supreme Court has postponed hearing oral arguments in the Google vs. Oracle copyright case and all other cases because of the coronavirus. It is the first time the Supreme Court has done so since the Spanish flu epidemic in 1918. ["The Court also shortened its argument calendars in August 1793 and August 1798 in response to yellow fever outbreaks," the announcement points out.]

"The court will examine the options for rescheduling those cases in due course in light of the developing circumstances," the announcement added.

Justices on the U.S. Supreme Court were scheduled to hear oral arguments in the Google vs. Oracle case on Tuesday, March 24, 2020, before making a decision a few months later.

Businesses

iFixit Is Building a Repair Database For Medical Equipment, and It Needs Your Help (theverge.com) 21

An anonymous reader quotes a report from The Verge: Repair specialist iFixit is building a database filled with repair information for the world's hospital equipment in anticipation of the increased demand caused by COVID-19, the disease caused by the novel coronavirus. In particular, it's calling for repair manuals for ventilators and BiPAP machines that can be used as ventilators. iFixit's database can be found here, and the company is calling for people to create new device pages and upload photographs and manuals.

There are currently few sources for repair manuals online. iFixit notes that resources like Frank's Hospital Workshop exist, but these are relatively small operations. Some manufacturers provide easy access to repair manuals on their websites, but others make them harder to find. There are a few different parts to iFixit's campaign beyond assembling a collection of manuals. Once it's got a manual, the company wants to format its information to make it as easy to understand as possible. It plans to break the manuals down into guides for individual repairs, to reformat them to make them more SEO-friendly, and to translate them into other languages. iFixit also wants to put together preventive maintenance guides so technicians can work to keep their equipment in good working order before it reaches the point of breaking down.
iFixit is also asking people in the medical community "to provide information about which ventilators are currently in use as well as which parts are most likely to break," the report adds. If you have any manuals to contribute, you can upload them to iFixit directly or email the company.

Slashdot Top Deals