Update: This post really took off on /r/cpp and was trending! You can have a look at the comments here. While playing around with C++ templates and SFINAE, I came up with the idea of a new metafunction named is_printable which tells you, at compile-time, if a value of a particular type can be printed using std::cout. So something like is_printable<int>::value will return true since int is a fundamental type.
This is going to be a multi-part blogpost series where I go about trying to design my own “Terrible Language” (referred to as tl from now on). I will start with just using C++ macros and template metaprogramming to first establish the syntax of the language. Once I am happy with it, I am going to go ahead and implement a GCC frontend followed by an LLVM frontend of the language.
I participated in GSoC 2019 and worked on improving LLVM support within the Chapel compiler. This post discusses 3 tasks I undertook: adding llvm.lifetime.start and llvm.lifetime.end intrinsics, improving debugger support, and limiting C code generation when using the LLVM backend. Table of Contents 1. Introduction 1.1 What is Google Summer of Code? 1.2 What is Chapel? 1.3 My prior knowledge of compilers 2. The Project 2.
I lost my Daadaji on May 21. He was 77 years old. Allah called him back in the holy month of Ramadan. It was very sudden and it has emotionally crumbled our spirits, to say the least. In Hindi, “Daadaji” refers to your paternal grandfather. My Daadaji’s name was Jamil Ahmad. Jamil in Arabic means handsome and so he was — a handsome, self-made, self-taught, respectable, caring and lovable individual. I used to call him “Daadu” and I loved him a lot.
I am an international student living in Canada. I originally hail from India and like a lot of Indian kids, I always dreamt of living and working in the USA when I grew older. And I have to say that this was the case until I actually came for higher studies in Canada two years ago. I started to code when I was still in grade 4 and I always thought of ending up in the Silicon Valley to work for a multi-billion dollar tech behemoth.