Like this idea in theory. The author's site (built with Publish) seems slow to me. Cause unknown. Would like to see more examples. https://swiftbysundell.com/
It's fast. It's static. CDN as mentioned. Nothing impressive here though. This wheel has been done.
Publish – A static site generator for Swift developers
11–20 of 21 posts
Re: Publish – A static site generator for Swift developers
#12Re: Publish – A static site generator for Swift developers
#13Like this idea in theory. The author's site (built with Publish) seems slow to me. Cause unknown. Would like to see more examples. https://swiftbysundell.com/
That is good for blogs, news and similar because you rarely go through several pages, but horrible for webapps where you spend a lot of time switching between content
Re: Publish – A static site generator for Swift developers
#14John Sundell is awesome. Other stuff he’s done: Plot: Write type safe HTML/RSS/XML in Swift https://github.com/JohnSundell/Plot Ink: Converts markdown to HTML https://github.com/JohnSundell/Ink Swift by Sundell blog https://www.swiftbysundell.com/ Podcast https://www.swiftbysundell.com/podcast I really love these lightweight, JavaScript free websites he’s helping create in Swift. It’s such a better experience loading…
On the other hand Google seems to think I need a Foreverspin after carefully analyzing all of my click behavior over thousands of websites.
Re: Publish – A static site generator for Swift developers
#15Like this idea in theory. The author's site (built with Publish) seems slow to me. Cause unknown. Would like to see more examples. https://swiftbysundell.com/
A clean reload transfers only 300kb of data that uncompresses to 670kb. Of that 223kb(570kb uncompressed) are fonts which are heavily cached and change rarely if ever. DOMContentLoaded fires after 80ms.
Subsequent loads are completely cached.
In an age where the average website is multi megabyte https://swiftbysundell.com/ is a refreshing and excellent demonstration of how good the web can be.
Re: Publish – A static site generator for Swift developers
#16Is this increasingly common?
Is it worth learning and adopting Swift as an alternative to Rust/Go/Dart, for example? It feels like it could be a strong general purpose language.
It seems a shame to restrict the language to Apple's ecosystem only. Apple's own docs make it sound like use cases outside of the Apple ecosystem are being left to the community; that Apple does not have any intention to make the language have broader appeal itself: https://developer.apple.com/swift/#xplatform
Re: Publish – A static site generator for Swift developers
#17Great to see Swift being used outside of macOS/iOS. Is this increasingly common? Is it worth learning and adopting Swift as an alternative to Rust/Go/Dart, for example? It feels like it could be a strong general purpose language. It seems a shame to restrict the language to Apple's ecosystem only. Apple's own docs make it sound like use cases outside of the Apple ecosystem are being left to the community; that Apple…
Re: Publish – A static site generator for Swift developers
#18Like this idea in theory. The author's site (built with Publish) seems slow to me. Cause unknown. Would like to see more examples. https://swiftbysundell.com/
Re: Publish – A static site generator for Swift developers
#19Earlier quoted context omitted.
A tree?
Since hyperlinks can link to any document, not just children, shouldn't the data structure be a (not necessarily tree-shaped) directed graph?
It's an old question, see the "piece-chain" structure Prof With chose for text-with-"looks" (aka "style") http://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.Syste... section 5.2, "Text Management".
Re: Publish – A static site generator for Swift developers
#20Great to see Swift being used outside of macOS/iOS. Is this increasingly common? Is it worth learning and adopting Swift as an alternative to Rust/Go/Dart, for example? It feels like it could be a strong general purpose language. It seems a shame to restrict the language to Apple's ecosystem only. Apple's own docs make it sound like use cases outside of the Apple ecosystem are being left to the community; that Apple…
Right now there are things like:
-vapor: https://vapor.codes/ to do server things
-tensorflow swift: https://www.tensorflow.org/swift for machine learning at a lower level than python, meant to replace a lot of the work that ends up being done in c++
One of the biggest problems is that it isn't as cross platform as we want it to be yet (it kinda works on windows now: https://swiftforwindows.github.io/ - but not for 5.0 yet), some of the more recent changes to the language are setting it up to be more cross platform as well, but I've forgotten the specific term. Also a lot of libraries on linux don't work quite the same as MacOS or are incomplete/missing. The biggest hold-back though that and the public opinion seems to be that swift == IOS dev.
The only way I can think to change that opinion is to build something incredible first and then let everyone react with "you can do that? I didn't think you could do that, wow".