News for hackers. Stuff that matters.
Re:Bootstrap 3.1 released by timdorr on Thursday January 30, 2014 @03:06PM (#7153014)
SASS is backed by Ruby, so you can take advantage of all of Ruby's power, including reading from the filesystem.

For instance, combined with Compass, you can read image sizes and automatically pull in width and height for a class. Or you can more easily make sprite images via a mixin that knows the size of the image and how many rows/columns you have.

I've been using bootstrap-sass since it was targeting bootstrap 2.3. They've done a great job of keeping up with bootstrap development, so it's great to see them officially supported. It wouldn't shock me at all if Bootstrap eventually moved over to SASS officially in the future.

Re:Bootstrap 3.1 released by WalterSear on Thursday January 30, 2014 @03:47PM (#7153253)
Actually, I moved away from Sass >because< of the Ruby tie in. Transpiling Sass to css using Ruby was using up most of my day. It's a dog!

Fortunately, now there is node-sass and it's grunt wrapper, making for vastly faster transpiling process.

https://github.com/andrew/node-sass

Re:Bootstrap 3.1 released by steveklabnik on Thursday January 30, 2014 @04:33PM (#7153494)
There's been work to re-write sass in C (or C++), preliminary reports showed it being 4,000x faster, IIRC.
Re:Bootstrap 3.1 released by zachlatta on Thursday January 30, 2014 @06:28PM (#7154125)
Re:Bootstrap 3.1 released by lowboy on Friday January 31, 2014 @02:02AM (#7155696)
+1 for libsass. I started using Gulp instead of Grunt for a project, and gulp-sass uses libsass. My compilation times are now sometimes sub-millisecond (albeit with only 500 lines of scss spread across 4-5 files).
Re:Bootstrap 3.1 released by glebm on Saturday February 01, 2014 @03:43AM (#7161211)
As of a few days ago it is complete enough to compile bootstrap-sass :) https://github.com/hcatlin/libsass/issues/231#issuecomment-3...
Re:Bootstrap 3.1 released by radq on Thursday January 30, 2014 @06:58PM (#7154272)
This benchmark suggests it's more on the order of 10x?

http://www.solitr.com/blog/2014/01/css-preprocessor-benchmar...

Re:Bootstrap 3.1 released by steveklabnik on Thursday January 30, 2014 @07:22PM (#7154387)
Neat! It was only partially ported when I last heard numbers, full support often slows things down quite a bit.