Romolo  Morelli

Romolo Morelli

1658636220

Carbon Language: un successore sperimentale di C++

Carbon Programming Language di Google: un successore di C++

Carbon, l'ultimo linguaggio di programmazione creato all'interno di Google, è stato presentato oggi come un successore sperimentale di C++.

Nel corso degli anni, Google ha creato alcuni linguaggi di programmazione, alcuni dei quali sono diventati più popolari e importanti di altri. Ad esempio, Golang (o semplicemente Go) è stato creato con lo scopo di migliorare lo sviluppo di server e sistemi distribuiti e da allora è stato adottato dal pubblico. Nel frattempo, il linguaggio di programmazione Dart, originariamente inteso come una sorta di alternativa a JavaScript, non ha raggiunto la popolarità mainstream fino al rilascio di Flutter.

Oggi, alla convention Cpp North a Toronto, come condiviso da Conor Hoekstra che era presente e ha documentato le diapositive, il googler Chandler Carruth ha condiviso la visione di un nuovo linguaggio di programmazione chiamato Carbon . Per impostare la scena, Carruth ha mostrato come molti dei linguaggi di programmazione più popolari di oggi hanno successori che consentono agli sviluppatori di essere rapidamente produttivi e di sfruttare anche il design dei linguaggi moderni.

Gli sviluppatori Android sanno bene che Kotlin funge da successore di Java, proprio come gli sviluppatori iOS sanno che Swift è il successore di Objective-C. TypeScript, di Microsoft, ha completamente migliorato JavaScript, pur rimanendo comodo da usare e in grado di essere "traspilato" di nuovo in JavaScript. C++, che vede una quantità significativa di utilizzo all'interno di Google, è similmente una sorta di successore del linguaggio di programmazione C originale.

Mentre alcuni potrebbero suggerire che Rust, originariamente un progetto Mozilla che da allora è cresciuto fino ad avere un seguito pubblico significativo, sia un successore di C++, Carruth si chiede se l'analogia segue ancora. Sebbene Rust sia innegabilmente un ottimo linguaggio per iniziare un nuovo progetto, non ha la stessa "interoperabilità bidirezionale" di qualcosa come Java e Kotlin, rendendo difficile la migrazione costante.

Se Rust funziona per te oggi, dovresti usarlo. Ma spostare un ecosistema C++ su Rust è difficile.

A tal fine, mentre Carbon ha molti degli stessi obiettivi di Rust, come aiutare gli sviluppatori a creare "software critici per le prestazioni", Carbon è anche concepito per essere completamente interoperabile con il codice C++ esistente. Inoltre, l'obiettivo è rendere la migrazione da C++ a Carbon il più semplice possibile, se lo si desidera.

Per quanto riguarda il motivo per cui uno sviluppatore C++ potrebbe voler prendere in considerazione l'introduzione di Carbon nella propria base di codice, Carruth ha condiviso alcuni punti salienti del linguaggio sul palco.

  • Parole chiave introduttive e una semplice grammatica
  • I parametri di ingresso della funzione sono valori di sola lettura
  • I puntatori forniscono accesso indiretto e mutazione
  • Usa le espressioni per nominare i tipi
  • Il pacchetto è lo spazio dei nomi radice
  • Importa le API tramite il nome del pacchetto
  • Il parametro oggetto esplicito dichiara un metodo
  • Unica eredità; le classi sono finali per impostazione predefinita
  • Generici potenti e con verifica della definizione
  • I tipi implementano in modo esplicito le interfacce

Al di là delle caratteristiche del linguaggio stesso, il team di Carbon ha richiamato l'attenzione sul processo di sviluppo che plasmerà il futuro di Carbon. Il codice del progetto è ospitato pubblicamente su GitHub ed è aperto alle richieste pull, mentre la cultura di Carbon è delineata per essere accessibile e inclusiva sia per i dipendenti delle aziende che per i privati.

Detto questo, un aspetto del linguaggio di programmazione Carbon che non è particolarmente ben delineato è il coinvolgimento di Google. Sebbene la presentazione di oggi sia stata condivisa da un googler e gli attuali leader del progetto per Carbon consistono principalmente, ma non interamente, in googler, altrimenti non si fa menzione del fatto che Carbon sia un progetto di Google.

Ciò è in realtà intenzionale, poiché mentre Carbon ha avuto inizio all'interno di Google, il team comprende e ha condiviso online che, per avere un successo futuro, Carbon deve essere "un progetto indipendente e guidato dalla comunità", non guidato esclusivamente dagli usi di Google . Nello stesso commento, Carruth sottolinea ulteriormente che il carbonio è attualmente solo un esperimento, anche se alcune aziende hanno già mostrato precocemente interesse.

Se sei interessato a iniziare con Carbon, puoi scaricare il codice sorgente e sperimentarlo sul tuo dispositivo. Oppure puoi avere un'idea del linguaggio di programmazione Carbon direttamente nel tuo browser grazie all'integrazione con l' app web gratuita Compiler Explorer .

Una versione precedente di questo articolo affermava erroneamente che tutti i lead di Carbon sono dipendenti di Google. Ci scusiamo per l'errore.

Fonte dell'articolo originale su https://9to5google.com

#carbonlang #cplusplus #cpp 

What is GEEK

Buddha Community

Carbon Language: un successore sperimentale di C++
Ananya Gupta

Ananya Gupta

1594464365

Advantage of C Language Certification Online Training in 2020

C language is a procedural programming language. C language is the general purpose and object oriented programming language. C language is mainly used for developing different types of operating systems and other programming languages. C language is basically run in hardware and operating systems. C language is used many software applications such as internet browser, MYSQL and Microsoft Office.
**
Advantage of doing C Language Training in 2020 are:**

  1. Popular Programming language: The main Advantage of doing C language training in 2020 is popular programming language. C programming language is used and applied worldwide. C language is adaptable and flexible in nature. C language is important for different programmers. The basic languages that are used in C language is Java, C++, PHP, Python, Perl, JavaScript, Rust and C- shell.

  2. Basic language of all advanced languages: The another main Advantage of doing C language training in 2020 is basic language of all advanced languages. C language is an object oriented language. For learning, other languages, you have to master in C language.

  3. Understand the computer theories: The another main Advantage of doing C language training in 2020 is understand the computer theories. The theories such as Computer Networks, Computer Architecture and Operating Systems are based on C programming language.

  4. Fast in execution time: The another main Advantage of doing C language training in 2020 is fast in execution time. C language is to requires small run time and fast in execution time. The programs are written in C language are faster than the other programming language.

  5. Used by long term: The another main Advantage of doing C language training in 2020 is used by long term. The C language is not learning in the short span of time. It takes time and energy for becoming career in C language. C language is the only language that used by decades of time. C language is that exists for the longest period of time in computer programming history.

  6. Rich Function Library: The another main Advantage of doing C language training in 2020 is rich function library. C language has rich function of libraries as compared to other programming languages. The libraries help to build the analytical skills.

  7. Great degree of portability: The another main Advantage of doing C language training in 2020 is great degree of portability. C is a portable assemble language. It has a great degree of portability as compilers and interpreters of other programming languages are implemented in C language.
    The demand of C language is high in IT sector and increasing rapidly.

C Language Online Training is for individuals and professionals.
C Language Online Training helps to develop an application, build operating systems, games and applications, work on the accessibility of files and memory and many more.

C Language Online Course is providing the depth knowledge of functional and logical part, develop an application, work on memory management, understanding of line arguments, compiling, running and debugging of C programs.

Is C Language Training Worth Learning for You! and is providing the basic understanding of create C applications, apply the real time programming, write high quality code, computer programming, C functions, variables, datatypes, operators, loops, statements, groups, arrays, strings, etc.

The companies which are using C language are Amazon, Martin, Apple, Samsung, Google, Oracle, Nokia, IBM, Intel, Novell, Microsoft, Facebook, Bloomberg, VM Ware, etc.
C language is used in different domains like banking, IT, Insurance, Education, Gaming, Networking, Firmware, Telecommunication, Graphics, Management, Embedded, Application Development, Driver level Development, Banking, etc.

The job opportunities after completing the C Language Online certificationAre Data Scientists, Back End Developer, Embedded Developer, C Analyst, Software Developer, Junior Programmer, Database Developer, Embedded Engineer, Programming Architect, Game Programmer, Quality Analyst, Senior Programmer, Full Stack Developer, DevOps Specialist, Front End Web Developer, App Developer, Java Software Engineer, Software Developer and many more.

#c language online training #c language online course #c language certification online #c language certification #c language certification course #c language certification training

Ananya Gupta

Ananya Gupta

1599550659

Benefits Of C Language Over Other Programming Languages

C may be a middle-level programing language developed by Dennis Ritchie during the first 1970s while performing at AT&T Bell Labs within the USA. the target of its development was within the context of the re-design of the UNIX OS to enable it to be used on multiple computers.

Earlier the language B was now used for improving the UNIX. Being an application-oriented language, B allowed a much faster production of code than in programming language. Still, B suffered from drawbacks because it didn’t understand data-types and didn’t provide the utilization of “structures”.

These drawbacks became the drive for Ritchie for the development of a replacement programing language called C. He kept most of the language B’s syntax and added data-types and lots of other required changes. Eventually, C was developed during 1971-73, containing both high-level functionality and therefore the detailed features required to program an OS. Hence, many of the UNIX components including the UNIX kernel itself were eventually rewritten in C.

Benefits of C language

As a middle-level language, C combines the features of both high-level and low-level languages. It is often used for low-level programmings, like scripting for it also supports functions of high-level C programming languages, like scripting for software applications, etc.
C may be a structured programing language that allows a posh program to be broken into simpler programs called functions. It also allows free movement of knowledge across these functions.

Various features of C including direct access to machine level hardware APIs, the presence of C compilers, deterministic resource use, and dynamic memory allocation make C language an optimum choice for scripting applications and drivers of embedded systems.

C language is case-sensitive which suggests lowercase and uppercase letters are treated differently.
C is very portable and is employed for scripting system applications which form a serious a part of Windows, UNIX, and Linux OS.

C may be a general-purpose programing language and may efficiently work on enterprise applications, games, graphics, and applications requiring calculations, etc.
C language features a rich library that provides a variety of built-in functions. It also offers dynamic memory allocation.

C implements algorithms and data structures swiftly, facilitating faster computations in programs. This has enabled the utilization of C in applications requiring higher degrees of calculations like MATLAB and Mathematica.

Riding on these advantages, C became dominant and spread quickly beyond Bell Labs replacing many well-known languages of that point, like ALGOL, B, PL/I, FORTRAN, etc. C language has become available on a really wide selection of platforms, from embedded microcontrollers to supercomputers.

#c language online training #c language training #c language course #c language online course #c language certification course

Ananya Gupta

Ananya Gupta

1593860622

How Can You Improve Your Coding Skills In C Programming?

If you are an expert at coding in C Language and have a lot of experience in this field, then you can count yourself lucky. If your skill & C projects gets noticed by a sizable number of people, you can likely get a huge fortune out of it. But, no matter how strong your** C Programming skills** are, you must never stop improving.

The popularity of C language generates demand for its experts and therefore in the current world, excellent opportunities are waiting ahead for them. As the growth of C professionals is in high demand in the emerging market, it is necessary for them to become skilled and expert in this field. In order to learn C programming fundamentals, one must be trained in its methodologies and fundamentals and hence proper C language online professional training is necessary. In this article, we will discuss some of the ways by which you can improve coding skills in C language:
**
DETERMINE WHAT MOTIVATES YOU **
Before you start diving into learning, C language it’s worth asking yourself why you want to learn it. This is because it’s going to be a hard and sometimes painful journey. Without sufficient motivation, you apparently won’t make it through. Determining what motivates you will assist you to figure out an end goal and a path that gets you there without boredom. You don’t have to figure out an exact project, just a general area you’re interested in.

BE PATIENT
Patience is the answer to become a successful in C Programming field. As a coder you will fail numerous times. But the solution is to have patience and write code and then spend most of the time making it work.
**
BE ENTHUSIASTIC**
You have to be enthusiastic about coding. If you have some project of your own to show during your job interview, it will help you a lot. It means you know something and you do it because you want it. It’s vital for every decent recruiter
USE C/C++LIBRARIES
Libraries are ones which are used for reuse of code, increase the development process and also help in the generalization of the process. Updating with knowledge of libraries is a perfect way to shape into a good android developer.

BE UPDATED

As the expert in C language, you should be updated about the latest news and development in this world. One should also read through the different sources available online. Complex stuff and rich C resources can be found online as well as in books. C professionals should be well familiar with all these sources. You can also join C language online training by CETPA Infotech to remain updated with the technology.

**JOIN ONLINE C TRAINING @ CETPA **

Joining C language online training at CETPA would be beneficial for you as you can learn all about this field just by sitting at your home, thereby saving your time and money. Others benefit that you will get includes:

  • Real time and updated knowledge of Coding concepts
  • Live project based training
  • 100% practical training
  • Basics as well as Advanced concepts
  • Assured Placement Assistance
  • International Certification
  • Membership Card and much more.

#c language online training #c language online course #c language certification online course #c language certification

Tamale  Moses

Tamale Moses

1624240146

How to Run C/C++ in Sublime Text?

C and C++ are the most powerful programming language in the world. Most of the super fast and complex libraries and algorithms are written in C or C++. Most powerful Kernel programs are also written in C. So, there is no way to skip it.

In programming competitions, most programmers prefer to write code in C or C++. Tourist is considered the worlds top programming contestant of all ages who write code in C++.

During programming competitions, programmers prefer to use a lightweight editor to focus on coding and algorithm designing. VimSublime Text, and Notepad++ are the most common editors for us. Apart from the competition, many software developers and professionals love to use Sublime Text just because of its flexibility.

I have discussed the steps we need to complete in this blog post before running a C/C++ code in Sublime Text. We will take the inputs from an input file and print outputs to an output file without using freopen file related functions in C/C++.

#cpp #c #c-programming #sublimetext #c++ #c/c++

Dicey Issues in C/C++

If you are familiar with C/C++then you must have come across some unusual things and if you haven’t, then you are about to. The below codes are checked twice before adding, so feel free to share this article with your friends. The following displays some of the issues:

  1. Using multiple variables in the print function
  2. Comparing Signed integer with unsigned integer
  3. Putting a semicolon at the end of the loop statement
  4. C preprocessor doesn’t need a semicolon
  5. Size of the string matters
  6. Macros and equations aren’t good friends
  7. Never compare Floating data type with double data type
  8. Arrays have a boundary
  9. Character constants are different from string literals
  10. Difference between single(=) and double(==) equal signs.

The below code generates no error since a print function can take any number of inputs but creates a mismatch with the variables. The print function is used to display characters, strings, integers, float, octal, and hexadecimal values onto the output screen. The format specifier is used to display the value of a variable.

  1. %d indicates Integer Format Specifier
  2. %f indicates Float Format Specifier
  3. %c indicates Character Format Specifier
  4. %s indicates String Format Specifier
  5. %u indicates Unsigned Integer Format Specifier
  6. %ld indicates Long Int Format Specifier

Image for post


A signed integer is a 32-bit datum that encodes an integer in the range [-2147483648 to 2147483647]. An unsigned integer is a 32-bit datum that encodes a non-negative integer in the range [0 to 4294967295]. The signed integer is represented in twos-complement notation. In the below code the signed integer will be converted to the maximum unsigned integer then compared with the unsigned integer.

Image for post

#problems-with-c #dicey-issues-in-c #c-programming #c++ #c #cplusplus