483 karma · joined December 23, 2014
WordPress average page generation: 1 sec
SunSed CMS: 0.03 sec
Database is almost always the reason for slow applications.
Edit: if you do caching right, WordPress becomes as fast.
One feature that must be mentioned is that it allows you to cache content (could be anything: HTML, JPEG and more) for as little as 1 second! CloudFlare requires an enterprise plan and even then you cannot set a TTL lower than 30 seconds.
Interesting, I always thought the number of upvotes for a Show HN post correlates to its future success.
Could you please double check the performance on Firefox? I think the issue was with grayscale filter in CSS.
> For someone who doesn't mind code, there are a million static site generators that will deploy to S3 or Digital Ocean or whatever. They get the same amount of customization and it's almost totally free.
You are right! The competition is crazy! I HOPE that creating tags that make it easier for designers/developers to build websites faster/easier could be the reason.
So for example, to create a slideshow in HTML all you have to do is to use <remark:it> tag and put the slideshow content inside that tag.
And here is the source code for that tag: https://github.com/SunSed/remark
So imagine if there was 1000s of tags like that one that makes web development like Lego peaces that you put together.
What do you think?
Can I email you and continue the chat over email? :)
Except your first point (I don't know why it was slow on your side), we are working on the rest by adding more value with useful libraries that makes web development easier for developers.
For most applications you are better off with making everything NOT case sensitive.
That's why SunSed language is completely case insensitive -- from variable names, tags (functions) to all string comparations. Users should not worry about case!
My favorite quote.
Average RPS * $15
So for 100 RPS for one month it costs around $1,500.
Also, you can optimize for cost by adding the following to your app.yaml:
threadsafe: true
Also Golang and Node costs less than other environments.
My two cents.
Update: Formatting.
I have updated the blog post and changed the name to "SunSed Short-form HTML tags" it also better describes what it is.
I have high respect for you and your work and admit that the way I came up with the name was sloppy!
Sundown is the name of that one feature of the language that I explained in the article.
In our website https://www.sunsed.com we refer to the whole thing as SunSed language.
> I would suggest thinking about this not as a Markdown replacement but rather a different use-case entirely.
You are right! I'm thinking about the same thing here! I could even give it no name and instead present it as part of the SunSed programming language (the part that lets you create custom HTML tags).
Aside from the difference in syntax (which is huge), I would say convenience.
SunSed = Hosting + IDE + CDN + a new programming language + Layout and Template system (like Jekyll and Hugo) + Many built-in tags to abstract things like embedding Youtube videos in a responsive way (which is not easy -- requires so many div wrappers).
You can also create your own tags and share it with others. I have started the process of creating tags for useful and popular libraries:
If you know HTML, you already know the syntax of SunSed programming language, and can create fast dynamic websites with ease by abstracting your website content in custom HTML tags!
After all, SunSed is a programmable website builder.
Aside from the difference in syntax (which is huge), I would say convenience.
SunSed = Hosting + IDE + CDN + a new programming language + Layout and Template system (like Jekyll and Hugo) + Many built-in tags to abstract things like embedding Youtube videos in a responsive way (which is not easy -- requires so many div wrappers).
You can also create your own tags and share it with others. I have started the process of creating tags for useful and popular libraries:
If you know HTML, you already know the syntax of SunSed programming language, and can create fast dynamic websites with ease by abstracting your website content in custom HTML tags!
After all, SunSed is a programmable website builder.
SunSed is for developers with HTML knowledge. You can use SunSed language to create custom HTML tags (abstract HTML, CSS and JavaScript) and then Sundown to abstract your HTML.
I think Sundown is very easy to learn and SunSed language has very little learning curve because it follows the exact syntax of HTML:
I actually bench marked all of the Markdown implementatinos back in 2016 (or early 2017). https://github.com/vmg/sundown was by far the fastest!
Sundown and Markdown are both HTML preprocessors with different goals.
Image tag in Sundown is easier than Markdown:
:s:img http://link-to-image.jpg image alt tag
Or how about embedding a tweet: :twitter:embed http://link-to-tweet
Or, youtube, user sign-up form and more...You are absolutely right! There is a trade-off. Some tags are easier in Markdown (e.g. bold, italic, inline code and a few others). But you cannot extend markdown with your own custom elements can you?
Sundown by itself is not that useful. It gets really useful when you use it as a preprocessor for your own custom HTML tags.
Here I explain how you can create your own server-side HTML tags:
https://www.sunsed.com/manual/creating-tag
Again, Sundown is just a HTML preprocessor you can write all of the above tags like this:
<s:youtube>
http://youtube-link
</s:youtube>I agree with the learning part but SunSed is not a toy language. I could be wrong about how valuable it's going to be but it's definitely more than a toy.
Sundown is a very simple preprocessor that plays well with the SunSed language. With SunSed, you can create your own HTML tags (that run server-side) and abstract HTML, CSS and JavaScript.
Sundown is just the icing on the cake that lets you easily use your custom tags. SunSed language is a complete programming language, you can checkout the tags here:
Again, I could be wrong on how valuable it's going to be for front-end developers. But I strongly feel that it's a little bit more than a toy! ;)
Thank you very much!
> Are you planning on opening the source to Sundown?
Sundown is just a HTML preprocessor implemented in a few lines of regular expressions! I actually planned to open source it before writing the article but did not have the time.
However, I'm not planning on open sourcing the SunSed language compiler (the part that allows you to create custom html tags). But I will open source all the tags and libraries here:
> Maybe I'm missing the benefit here
Sundown is useful because it lets you abstract your custom server-side HTML tags. In other words, you can extend the language very easily.
For example, you can create a tag called "note" and use that instead of repeating HTLM, CSS and even JS:
<s:tag name="note">
<div style="color:red;">
Note: {{@content}}!!
</div>
</s:tag>
And then call your new tag using the HTML syntax or Sundown: <note>Sundown is awesome ;)</note>
:note Sundown is awesome :)
Result: <div style="color:red">Note: Sundown is awesome :)!!</div>
Sundown is just an HTML preprocessor (like Markdown) once it is transformed to HTML it's the SunSed language that compiles all the custom HTML tags to executable format. <s:tag name="note">
<div style="color:red;">
Note: {{@content}}!!
</div>
</s:tag>
And then call your new tag using the HTML syntax or Sundown: <note>Sundown is awesome ;)</note>
:note Sundown is awesome :)You are right about the name confusion! It has been several years since the last commit to the /vmg/sundown and even if it was active it's not a very common Markdown implementation (although it's one of the best).
Y Combinator prefers to get 6% of more companies to increase the chance of winning the jack pot.