Bonjour V!

Bonjour V!

Let’s meet the new kid on the programming block. V is a brand new programming language that’s been making quite a few waves in the programming community. I stumbled upon it a few months back when I read this article.

V is a brand new programming language_ that’s been making quite a few waves in the programming community._

I stumbled upon it a few months back when I read this article.

While V is still in its infancy as of this writing (there are only sixquestions about it on SO), it is gaining popularity (it has around *15.9K *stars on GitHub).

And it’s also under active development (as evidenced by the recent commits in its GitHub repo).

So, I thought, why not give it a try. After all, what’s the harm in being an early adopter, right?

So, let’s get started!

Step 1. Install V on your local machine

You can install V using prebuilt binaries (such as [this one_](https://github.com/vlang/v/releases/latest/download/v_macos.zip)), or you can directly [compile_](https://github.com/vlang/v#installing-v-from-source)_ its [source code_](https://github.com/vlang/v).

Since I use a MacBook Air (13-inch, 2007) running _m_acOS Catalina_ (version 10.15.3)_, I downloaded this prebuilt binary for macOS.

I extracted its contents and fired up the macOS Terminal_. _Then,I navigated to the directory where I’d extracted the prebuilt binary and fired the following command in the Terminal:

./v version

It’s supposed to display V’s current version, something like below:

V 0.1.24 0d93eeb

But instead, the following prompt popped up on the screen:

A warning prompt from macOS stating that macOS is unable to verify app (https://support.apple.com/en-us/HT202491)

https://support.apple.com/en-us/HT202491

You see, macOS blocks the execution of apps that haven’t been notarized_ (meaning, apple can’t verify the origins of the app, and as a result, can’t guarantee that the application isn’t malicious)._

So, what do we do now? Give up?

Absolutely not!

There’s a workaround: We can tell macOS to make an exception for such _unnotarized _apps by navigating to _System Preferences > Security & Privacy _and click the “Allow Anyway” button. Take a peek at the _gif _below to get a better idea:

Image for post

Now that we’ve told the bouncer (macOS 😀) to let the guest in, we should be able to start the party, right? (run V via the Terminal without any issue)

But no! 😯 That’s not what happens. When we execute the ./v version on the Terminal again, the following screen pops up:

macOS blocks the execution of the app yet again, but this time, there’s an “Open” button, which empowers the user to “run” it

macOS blocks the execution of the app yet again, but this time, there’s an “Open” button, which empowers the user to “run” the app.

This is the same pop-up that we encountered a while back, but this time, macOS has provided us with the “Open” button. Let’s click it and see what happens:

V prints its version number on the Terminal

v-programming-language new-programming-language hello-world coding programming

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

“Hello, World!” in Different Programming Languages and Times

Which one do you like the most? Learn how to say 'Hello World' in 28 different programming languages and take the first step to ... In its time it was very popular but now has fallen out of use.

Coding 101: Programming Language Building Blocks

This article will introduce the concepts and topics common to all programming languages, that beginners and experts must know!

Android Hello World Program - Create Your First App in Android Studio

Learn how to start android development in android studio. This is a very simple android project & doesn't need to do much coding

13 Free/Low-Cost Sites to Supercharge Your Programming Self-Education

Although we still talk about programming as a standalone career, the dominance of technology in our lives makes it clear that coding is much more than a career path. In my opinion, computer science is more than a college major or a high-paid job; it’s a skill, essential for thriving in a modern-day economy. Whether you work in healthcare, marketing, business, or other fields, you will see more coding and have to deal with a growing number of technologies throughout your entire life.

6 Reasons to Know At least One Programming Language

When you start reading this, I’m assuming you don’t know much about programming and you’re highly curious about why you need to learn a new language when you’re not aware of why you actually need it. Here I’m giving you 6 reasons for you to learn a new programming language.