Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

C
C

2.9K
1.7K
+ 1
183
HAML
HAML

411
276
+ 1
262
Add tool

C vs HAML: What are the differences?

C: One of the most widely used programming languages of all time. ; HAML: HTML Abstraction Markup Language - A Markup Haiku. Haml is a markup language that鈥檚 used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.

C and HAML can be categorized as "Languages" tools.

"Performance" is the top reason why over 52 developers like C, while over 66 developers mention "Clean and simple" as the leading cause for choosing HAML.

HAML is an open source tool with 3.44K GitHub stars and 544 GitHub forks. Here's a link to HAML's open source repository on GitHub.

According to the StackShare community, C has a broader approval, being mentioned in 64 company stacks & 251 developers stacks; compared to HAML, which is listed in 113 company stacks and 40 developer stacks.

- No public GitHub repository available -

What is C?

What is HAML?

Haml is a markup language that鈥檚 used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose C?
Why do developers choose HAML?

Sign up to add, upvote and see more prosMake informed product decisions

What companies use C?
What companies use HAML?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with C?
What tools integrate with HAML?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to C and HAML?
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
See all alternatives
Decisions about C and HAML
marcoalmeida
marcoalmeida
Go
Go
C
C
Python
Python
Rust
Rust

One important decision for delivering a platform independent solution with low memory footprint and minimal dependencies was the choice of the programming language. We considered a few from Python (there was already a reasonably large Python code base at Thumbtack), to Go (we were taking our first steps with it), and even Rust (too immature at the time).

We ended up writing it in C. It was easy to meet all requirements with only one external dependency for implementing the web server, clearly no challenges running it on any of the Linux distributions we were maintaining, and arguably the implementation with the smallest memory footprint given the choices above.

See more
Russel Werner
Russel Werner
Lead Engineer at StackShare | 11 upvotes 105.3K views
atStackShareStackShare
Sass
Sass
HAML
HAML
React
React
Glamorous
Glamorous
JavaScript
JavaScript
Emotion
Emotion
#Inlinecss

When we rebooted our front-end stack earlier this year, we wanted to have a consolidated and friendly developer experience. Up to that point we were using Sass and BEM. There was a mix of HAML views, React components and Angular. Since our ongoing development was going to be exclusively in React, we wanted to shift to an inline styling library so the "wall of classnames" could be eliminated. The ever-shifting landscape of inline CSS libraries for React is sometimes difficult to navigate.

We decided to go with Glamorous for a few reasons:

1) Previous team experience with this library 2) We can write our styles in plain JavaScript (which brings many benefits) 3) It supports server-side rendering 4) It has great composition patterns

As you may or may not know, Glamorous has ceased active development and been mostly superseded by Emotion. We are planning to migrate to either Emotion or @styled-components in the near future, and I'll write another Stack Decision when we get there!

#inlinecss

See more
Conor Myhrvold
Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber | 8 upvotes 484.9K views
atUber TechnologiesUber Technologies
C
C
Java
Java
JavaScript
JavaScript

Why Uber developed H3, our open source grid system to make geospatial data visualization and exploration easier and more efficient:

We decided to create H3 to combine the benefits of a hexagonal global grid system with a hierarchical indexing system. A global grid system usually requires at least two things: a map projection and a grid laid on top of the map. For map projection, we chose to use gnomonic projections centered on icosahedron faces. This projects from Earth as a sphere to an icosahedron, a twenty-sided platonic solid. The H3 grid is constructed by laying out 122 base cells over the Earth, with ten cells per face. H3 supports sixteen resolutions: https://eng.uber.com/h3/

(GitHub Pages : https://uber.github.io/h3/#/ Written in C w/ bindings in Java & JavaScript )

See more
Dan Larsen
Dan Larsen
CTO at FlowStack | 7 upvotes 40.4K views
atFlowStack ApSFlowStack ApS
Go
Go
Rust
Rust
C
C
C++
C++

At FlowStack we write most of our backend in Go. Go is a well thought out language, with all the right compromises for speedy development of speedy and robust software. It's tooling is part of what makes Go such a great language. Testing and benchmarking is built into the language, in a way that makes it easy to ensure correctness and high performance. In most cases you can get more performance out of Rust and C or C++, but getting everything right is more cumbersome.

See more
Interest over time
Reviews of C and HAML
No reviews found
How developers use C and HAML
Avatar of StackShare
StackShare uses HAMLHAML

Personally, I really like HAML. Not having to use open and close tags is a huge time saver. As a result, writing markup with HAML is much more pleasant. HAML essentially forces you to be very strict about spacing, organization, and structure. It also makes the markup easier to read. Protip: I use this pretty frequently: htmltohaml.com

Avatar of papaver
papaver uses CC

been programming in c for over a decade, since learning it in college. still use it for various low level projects. used it recently to develop an embedded application for a custom board.

Avatar of micro systems
micro systems uses CC

The core of the arcapos applications is written in C, so are most of the Lua modules (bindings to various hardware or protocols).

Avatar of Sqreen
Sqreen uses CC

The Sqreen PHP agent is both a PHP extension, built in C, and a daemon built in Python.

Avatar of POROWNEO.PL
POROWNEO.PL uses CC

Axis2/c, rampart/c, savan/c, barbershop and custom php extensions.

Avatar of Vaultize
Vaultize uses CC

Used in backend and clients for performance heavy tasks.

How much does C cost?
How much does HAML cost?
Pricing unavailable
Pricing unavailable
News about C
More news
News about HAML
More news