Blog Archive

0

The unreasonable effectiveness of the Julia programming language

Ain’t no party like a programming language virtual conference party

I’ve been running into a lot of happy and excited scientists lately. “Running into” in the virtual sense, of course, as conferences and other opportunities to collide with scientists in meatspace have been all but eliminated. Most scientists believe in the germ theory of disease.

Anyway, these scientists and mathematicians are excited about a new tool. It’s not a new particle accelerator nor a supercomputer. Instead, this exciting new tool for scientific research is… a computer language.

How can a computer language be exciting, you ask? Surely, some are better than others, depending on your purposes and priorities. Some run faster, while others are quicker and easier to develop in. Some have a larger ecosystem, allowing you to borrow battle-tested code from a library and do less of the work yourself. Some are well-suited to particular types of problems, while

Read More
0

Python programming language: Here’s what’s new in version 3.9 RC2

The Python Software Foundation has released the second release candidate (RC) of Python 3.9 and is warning users to watch for deprecation warnings as it drops backward compatibility for unsupported Python 2.7. 

Python maintainers stopped supporting Python 2.7 this April, some five years after support was originally meant to end – and 12 years after Python creator Guido van Rossum announced Python 3. 

The main highlight from Python 3.9 RC2 is that it removes most backward-compatibility layers for Python 2.7. Python 3.8 had those layers; however, it was released in October 2019 when Python 2.7 remained supported. 

SEE: Hiring Kit: Python developer (TechRepublic Premium)    

The final version of Python 3.9 is scheduled for release in early October, so Python maintainers believe it makes sense to remove the 2.7 compatibility layers.    

“When Python 2.7 was still supported, many functions were kept for backward compatibility with Python 2.7. With the end of

Read More
0

What is JavaScript Programming Language

Most of us, by now, should have heard of the programming language known as JavaScript. It is quite popular and is mostly used to develop websites. If your web browser doesn’t support JavaScript or an extension blocks it, most sites you visit will not load properly.

JavaScript is different from Java. When this programming language is in use, the internet becomes more interactive and dynamic, which in turn, provides a compelling experience for the user. Now, the earliest aspect of JavaScript came about during the reign of the Netscape Navigator Web browser.

Before that, web pages lacked animation and adaptive content, but when JavaScript dropped on the scene, everything changed.

We understand that for many years, only a small handful of web browser supported JavaScript, but things have changed a great deal today. All the major web browsers such as Firefox, Chrome, and Edge, are fully supported by the

Read More
0

Now Windows 10 gets Apple’s Swift programming language and Google’s Flutter

Apple’s Swift programming language and Google’s Flutter UI framework for its Dart programming language have arrived for Windows 10.  

Swift is Apple’s open-source, general-purpose programming language that developers can use to develop programs for iOS, macOS, watchOS, tvOS, Linux, and z/OS platforms.

The Apple-backed Swift project has now released downloadable Swift toolchain images for Windows, which contain everything needed to build and run Swift code on Windows 10. 

The Windows 10 toolchain is available for Swift 5.3 and is provided by Saleem Abdulrasool, a member of the Swift Core Team and a software engineer at Google Brain.

Abdulrasool detailed the many challenges to bringing Swift to Windows in a talk at the LLVM dev meeting last year. He noted at the time he managed to bring Swift to Windows through cross-compilation on Linux.   

Besides porting the Swift compiler, the toolchain includes the standard library and Swift’s three core libraries: Foundation,

Read More
0

Programming language TypeScript 4.1 beta: These are the new features, says Microsoft

Microsoft’s open-source TypeScript team has issued the first beta of TypeScript 4.1, bringing new features, new checking flags, and editor productivity improvements.

TypeScript, a superset of JavaScript, introduces types to describe the shape of an object. It offers JavaScript developers an ‘erasable type system’ that removes all the types at compile time and returns it to JavaScript for run time. It’s become a popular language for building apps for the browser. 

TypeScript 4.1 introduces the template literal string type, which uses the same syntax as JavaScript’s template literal strings but used in type positions.    

“String literal types in TypeScript allow us to model functions and APIs that expect a set of specific strings, explains Daniel Rosenwasser, a program manager on the TypeScript team. 

“This is pretty nice because string literal types can basically spell-check our string values.”

The template also acts as a building block for building other string literal

Read More
0

TypeScript creator: How the programming language beat Microsoft’s open-source fears

Microsoft’s open-source programming language TypeScript – the alter ego of JavaScript but with a type system – turns 10 years old this December. 

It’s grown to become a go-to language for building apps that run in the browser but back in 2010 it had to pick its way through a Microsoft company culture that was still fearful of open source. 

TypeScript co-creator Anders Hejlsberg, a Danish software engineer and technical fellow at Microsoft, describes to ZDNet the moment in 2010 when, under the then Microsoft chief Steve Ballmer, his team decided that an open-source strategy was the only way to win over JavaScript developers. 

SEE: Hiring Kit: Python developer (TechRepublic Premium)

Ballmer in 2001 called Linux a “cancer” that threatened all Microsoft’s intellectual property, and in 2010 open source at Microsoft was still a prickly issue for top management. 

“Linux was [seen as] a threat to Windows, and it turns

Read More
0

C++ programming language: Microsoft’s VS Code extension is out with these new features

Microsoft has published a stable version of the C++ extension for its popular open-source cross-platform code editor, Visual Studio Code, with support for Arm-based computers and new productivity features.   

The new C++ extension from Microsoft comes as C++, a 35-year-old language, grows in popularity among programmers. The International Organization for Standardization’s (ISO) C++ group, Working Group 21 (WG21), this month finalized C++ version 20. The group is headed up by software engineers from Microsoft and Google.

C++ 20 is the first major update to C++ since C++17 was released in 2017 and contains the biggest improvements since C++11 from 2011, according to Microsoft’s Herb Sutter.  

This month C++ became the fastest-growing programming language in the world, according to Tiobe, which publishes a monthly index of the most popular programming languages. C++ is currently the fourth most popular language behind C, Java and Python. 

The C++ extension for Visual Studio Code

Read More
0

Microsoft: VS Code update gets new features with programming language TypeScript 4.0

Microsoft has released the latest update to its open-source cross-platform code editor Visual Studio Code, bringing changes to formatting, Notebook UX updates, improvements to Source Control views and IntelliSense improvements from TypeScript 4.0.

VS Code version 1.49 works to remove unnecessarily large pull requests by only formatting text that’s been modified via a new command, ‘Format Modified Lines’, and a new setting, ‘editor.formatOnSaveMode’, which restricts Format on Save to modified lines.

The Notebook UX changes aim to improve the cell execution order label to make it easier to discover. Previously, users couldn’t see the execution order label (#) while executing a cell. So the VS Code team has shifted the table below the execute button. 

VS Code users can also now use two new settings to customize how the cell looks with respect to the location of the tool bar and whether or not the Status bar should be visible. 

Read More
0

C++ is now the fastest-growing programming language

Following a roller coaster ride in popularity during the past few years, C++ is now the fastest-growing language of the programming pack, according to TIOBE’s September index.

monsitj.jpg

Image: iStock/monsitj

C++ has had its share of ups and downs over the years in terms of popularity. But compared with its status last year, it’s now officially the fastest growing among all languages covered by software QA automation company TIOBE. For its new September 2020 Programming Community index, TIOBE gave C++ a rating of 7.11%, earning it a 1.48% increase over September 2019, the biggest gain among all languages for the month.

SEE: Top 5 programming languages for systems admins to learn (free PDF) (TechRepublic)

tiobe-programming-index-sept-2020.jpg

Image: TIOBE

Must-read developer content

Looking at its checkered history, TIOBE noted that C++ peaked in August 2003 with a rating of 17.53%, nudging it toward second place and helping it win the award for programming language

Read More
0

Download C Programming Language Books and Tutorials

Download useful books and tutorials for learning the C programming language


 

C programming manuals and tutorials

Mosaic’s single board computers are programmable in either the C or Forth programming languages. There are many C programming books and tutorials available both online and on paper. We recommend the following references for novice C programmers. You can download some of these books in pdf form directly from the links on this page; others are available from you favorite bookseller. Most of these resources are focused solely on the C language. For assistance in C programming in the context of real time applications and a real time multitasking operating system consult the specific documentation for the Mosaic IDE and Mosaic IDE Plus.

 

TutorialsPoint C Tutorial


TutorialsPoint Online C Tutorial (interactive online version)
TutorialsPoint Printed C Tutorial (download pdf version)

This tutorial is a quick, easy and fairly concise, interactive online tutorial for learning

Read More