dcsimg
Main » TERM » B »

Bosque Definition & Meaning

Bosque is a free and open source programming language developed by Microsoft. It is derived from the syntax and types of TypeScript and the semantics of ML and Node/JavaScript languages. Users with a JavaScript background will find Bosque familiar. It is designed for writing code that is simple, obvious, and easy to read for both humans and machines. Bosque is focused on the implications of:

Designing a bytecode that enables deep, automated code reasoning and the deployment of development tools, compilers, and runtime systems.

Using the power of the bytecode to provide an easily accessible programming language for modern developers. It also provides a rich set of language features for developing reliable and high-performing applications.

Making cloud development the priority to address the challenges that come with the adoption of the distributed cloud development model.

Bosque supports a simple and non-opinionated type system that allows developers to use a range of structural, nominal, and combination types to convey intent and encode features of the problem domain.

Bosque programming language features

Notable features of Bosque include:

Immutable

All values in the Bosque language are immutable, meaning the state cannot be modified after it is created. This is popular with many functional languages and improves readability and runtime efficiency.

Typed strings

Typed strings provide known structure about the content of a string in the type in a way that's useful to humans. Bosque features two types of typed strings, SafeString<T> and StringOf<T>.

SafeString<T> is parameterized with a Validator regular expression type, so it describes the language that the string belongs to.
StringOf<T> is parameterized by any type implementing the Parsable concept, making it ideal for working with data that comes in a custom format or light validation.

Bulk algebraic operations

This feature supports bulk reads and updates to data values. With bulk operations, updates can be performed as an atomic operation without manually extracting and copying fields.

Errors and checks

Bosque aims to simplify the process of building reliable software. The language provides support for errors and checks. It also expresses a range of invariants, sanity checks, and diagnostic assertions.










LATEST ARTICLES
Texting & Chat Abbreviations

From A3 to ZZZ we list 1,559 text message and online chat abbreviations to help you translate and understand today's texting lingo. Includes Top... Read More »

Huge List of Computer Certifications

Have you heard about a computer certification program but can't figure out if it's right for you? Use this handy list to help you decide. Read More »

STUDY GUIDES
Computer Architecture Study Guide

Computer architecture provides an introduction to system design basics for most computer science students. Read More »

Network Fundamentals Study Guide

Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »

The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the computing devices that we use... Read More »