Technology Microsoft: Python programming in Visual Studio Code is now faster and smarter than ever
Python programming: Our new tool can help clean up your buggy code, says AWS
Amazon Web Services will automatically catch Python coding bugs and quirks - for a monthly a fee.Developer working on computer at night
Microsoft has released the May 2021 update to the Python Extension for Visual Studio Code, which introduces Pylance as the default language server for Python alongside speedier start-up times and an auto-reload debugger for Python scripts.
providing smart suggestions and type information designed to help developers write code more quickly.is Microsoft's language support extension for
It's based on Microsoft's Pyright static type-checking tool for Python, which it released in 2019 to help developers quickly clean up and auto-complete code snippets.
Savannah Ostrowski, Microsoft's Program Manager of Pylance and Python in Visual Studio, said the upgraded support for Pylance within its Python extension – which is its most popular VS Code extension – "provides what we believe is the most performant and user-friendly Python editing experience for Visual Studio Code ever."
"Python strikes again": Top programming languages rankings features shake-ups
In the next six months, TIOBE Software CEO speculates that Python could be coming for the top spot in the company's Programming Community index. So which language will fall?SEE: The best programming languages to learn--and the worst (TechRepublic Premium)
Microsoft had been making enhancements to Python language support via the Pylance extension The company has also been working on making language support better for developers regardless of whether they're using Pylance or a different language server, and plans to concentrate on offering open-source language support options for users going forward.
"We've invested resources to standardize the way that language servers communicate with the Python extension (via Language Server Protocol)," said Ostrowski.
"This work has enabled us to further improve the performance and overall experience of other language servers, like the open-source Jedi language server."
Python programming language: These three new releases just arrived
Three new versions of the Python programming language have been released, including the first beta preview of Python 3.10.It what the Python release team called "a very busy day for releases", Monday, 3 May saw the release of Python 3.8.10, 3.9.5 and 3.10.0b1.
The May 2021 update also brings markedly improved stability and performance, including faster start-up time. The company is claiming a 10% faster boot time for Windows and macOS users, and up to 20% faster for Linux users, which Ostrowski credited to improvements in Microsoft's Python environments discovery mechanism. "We've also seen that it is decreasing the number of times the Python extension becomes unresponsive by 15% across the board," said Ostrowski.
Meanwhile, a new debugger feature brings live reload for Python scripts, after previously only supporting Django and Flask. This means that changes to code will be applied even after the debugger hits a breakpoint, without having to reload the debugger for them to take effect.
Miscellaneous changes and improvements to Python in VS Code include:
- A "Default" language server option that dynamically chooses which language server to use
- Automatic indenting following `match` and `case` statemens.
- Addition of a Python: Refresh TensorBoard command
- Added compatability with pypy3.7 interpreter.
Users can download the Python extensionor install it directly from the extension gallery in Visual Studio Code.
Programming languages: From Python to 500,000 lines of Go, how one organization is making a big switch
Go's performance compared to Python made it the winning programming language for a rewrite of the Kahn Academy's backend server.Developer working on desktop
- (TechRepublic Premium)
- (TechRepublic on Flipboard)
Apple's Swift programming language: Cheat sheet .
Apple's Swift has far-reaching effects on all platforms, not just iOS, OS X, watchOS and tvOS. Learn why Swift matters, how to use the programming language and how it differs from Objective-C.In 2010, Apple started developing Swift, a new programming language that would rival Objective-C in a few areas--specifically, type safety, security, and better on-hardware performance. Swift is more than 2.6x faster than Objective-C and more than 8.4x faster than Python. Swift 1.0 was released in September 2014.