Showing posts with label C. Show all posts
Showing posts with label C. Show all posts

Thursday, August 9, 2018

What programming language do you want to learn?


Of course, you want the most popular and the most valuable.

According to the Institute of Electrical and Electronics Engineers (IEEE) , it is Python, the clear winner.

Here are the top ten in its rankings:


Why Python?

The answer appears to the fact that it iss now used for embedded applications and because it has beefed up its repertoire related to AI and Machine learning. It is for this reason R language (somewhat specialized) has seen some decline.

Microsoft C# is still standing there at 5 and probably its place will be solid 5 for all types of programming - Web, desktop and Mobile. SQL is also there but does not show up as top 10 which is understandable given its area of usage.

Well here is the first 20. Find if your favorite is here



Well, you may want to know the basis for the ranking. You can get to know here.

You can find a lot of posts on R and Python on this site.



You can find a lot of Python and R posts in my blogs.

Saturday, April 28, 2018

What is the most popular programming language presently?

Looking back at my previous post on programming language popularity C language was at the top with Java in the second place.


However according to a chart on this site  shown here, Java continues to be the king once in a while ceding the top place.


TiobeIndex2017.png

Note that Python is rising, probably because of its use in AI, BigData and Robotics.

Friday, June 3, 2016

How do you convert from Hexadecimal to decimal and decimal to hexadecimal in R?


In R programming, Integer creates an integer vector
as.integer coerces(forces) its argument to integer type

This information is from R documentation:

Character strings containing optional whitespace followed by either a decimal representation or a hexadecimal representation (starting with 0x or 0X) can be converted, as well as any allowed by the platform for real number

Hexadecimal to Decimal Conversion:

Let us take a decimal number 78 and its hexadecimal value is 4E (or 4e)

This is how you code it in R. You have to use the string representation by appending 0x. Note that the function is case sensitive.
---
> as.integer("0x4E")
[1] 78
---

Decimal to Hexadecimal Conversion:

You need to use the sprintf(fmt,...) function as in converting the decimal 78 to hexadecimal. sprintf() is a wrapper for the C-library function.
-----
 > sprintf("%x",78)
[1] "4e"

or

> sprintf("%X",78)

[1] "4E"
-----

Thursday, January 29, 2015

How popular is JavaScript?

It has gained lot of popularity because of the many libraries developed such as jQuery, Bootstrap, Node.JS, Win.JS, dojo etc. Together with HTML5 it has become all the more popular for web development.

The popularity of a programming language is described by an index called the TIOBE Index.
TIOBE index provides a measure for the popularity of programming languages as mined from search engines. It includes many browser results as well as many programming languages. The index is published every month and for the month of January you can find it here:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

Programming languages C and Java are the top dogs and Javascript jumped from 9 to 7 in January 2015 and C# steady from 2014 to 2015 at 5.

TIOBE Index is calculated by the query +"Language> programming" to the search engines.

Get more info on TIOBE herre:
http://www.tiobe.com/index.php/content/products/tics/TICS_framework.html