Microsoft Bosque: A New Open Source Programming Language

As the field of Computer science is evolving day by day. Now Microsoft has launched a new open source programming language, Bosque. Microsoft Bosque is inspired by the syntax of TypeScript, the semantics of Machine Learning and Node.js. The main purpose behind Bosque is to build a functional programming language which will help the programmers to move beyond the paradigm of the structured programming.

 

This language is designed to improve developer productivity and software quality with a range of new compilers and tool experiences. Here are some important features of this language.

  • Functional programming is combined with block scopes and braces by allowing multiple assignments to updatable variables.
  • Lambda constructors merge code definition for the body with a variable copy semantics for closure captured variables on lambda creation.
  • Functions are first-class values and types.
  • All values are immutable. This makes the understanding of the effect of statement or block of code is simplified when it is side-effect free.
  • Typed strings provide a way to lift known structure about the contents of a string into a meaningful type.
  • You can thread the parameters through passing ref argument. This will simplify the situations where a variable is passed to a method that may use and update it.
  • Algebraic operations are available for data types, tuples, records, and nominal types and also for operations that include projection, multi-update and merge. Bulk algebraic data operations begin with bulk reads and data values updates in Bosque.
  • Bosque comes with first-class support for expressing a range of invariants, diagnostic assertions, and sanity checks.

Bosque is in the development stage and experts don’t recommend using it for any kind of production work. However, it is open for experiment.

Leave a Reply

Your email address will not be published. Required fields are marked *

Check Also

Close
Close

Adblock Detected

Please consider supporting us by disabling your ad blocker