diff --git a/app/views/pages/rubyx/_menu.haml b/app/views/pages/rubyx/_menu.haml index 8c34bbd..4d04efa 100644 --- a/app/views/pages/rubyx/_menu.haml +++ b/app/views/pages/rubyx/_menu.haml @@ -2,6 +2,8 @@ %ul.nav %li %a{:href => "/rubyx/layers.html"} Layers of RubyX + %li + %a{:href => "/rubyx/parfait.html"} Parfait %li %a{:href => "/rubyx/memory.html"} Memory %li diff --git a/app/views/pages/rubyx/layers.html.haml b/app/views/pages/rubyx/layers.html.haml index 63bafdd..b325728 100644 --- a/app/views/pages/rubyx/layers.html.haml +++ b/app/views/pages/rubyx/layers.html.haml @@ -1,8 +1,6 @@ -- title = "RubyX architectural layers" - = render "pages/rubyx/menu" -%h1#main-layers Main Layers +%h1=title "RubyX architectural layers" %p To implement an object system to execute object oriented languages takes a large system. The parts or abstraction layers are detailed below. diff --git a/app/views/pages/rubyx/memory.html.haml b/app/views/pages/rubyx/memory.html.haml index ec92780..c3b6687 100644 --- a/app/views/pages/rubyx/memory.html.haml +++ b/app/views/pages/rubyx/memory.html.haml @@ -1,8 +1,6 @@ -- title = "Types, memory layout and management" - = render "pages/rubyx/menu" -%h1#main-layers Memory management +%h1=title "Types, memory layout and management" %p Memory management must be one of the main horrors of computing. That’s why garbage collected languages like ruby are so great. Even simple malloc implementations tend to be quite complicated. Unnecessary so, if one used object oriented principles of data hiding. %h3#object-and-values Object and values diff --git a/app/views/pages/rubyx/optimisations.html.haml b/app/views/pages/rubyx/optimisations.html.haml index 72b434b..8e38bab 100644 --- a/app/views/pages/rubyx/optimisations.html.haml +++ b/app/views/pages/rubyx/optimisations.html.haml @@ -1,8 +1,6 @@ -- title = "Optimisation ideas" - = render "pages/rubyx/menu" -%h1 Optimisation ideas +%h1=title "Optimisation ideas" %p I won’t manage to implement all of these idea in the beginning, so i just jot them down. %h3#avoid-dynamic-lookup Avoid dynamic lookup diff --git a/app/views/pages/typed/parfait.html.haml b/app/views/pages/rubyx/parfait.html.haml similarity index 96% rename from app/views/pages/typed/parfait.html.haml rename to app/views/pages/rubyx/parfait.html.haml index c7e2106..7ad96fa 100644 --- a/app/views/pages/typed/parfait.html.haml +++ b/app/views/pages/rubyx/parfait.html.haml @@ -1,8 +1,7 @@ -%hr/ -%p - layout: typed - title: Parfait, a minimal runtime - — += render "pages/rubyx/menu" + +%h1= title "Parfait, a minimal runtime" + %h3#type-and-class Type and Class %p Each object has a type that describes the instance variables and basic types of the object. diff --git a/app/views/pages/rubyx/threads.html.haml b/app/views/pages/rubyx/threads.html.haml index 4795008..1f4e7cd 100644 --- a/app/views/pages/rubyx/threads.html.haml +++ b/app/views/pages/rubyx/threads.html.haml @@ -1,8 +1,6 @@ -- title = "Threads are broken" - = render "pages/rubyx/menu" -%h1 "Threads are broken" +%h1= title "Threads are broken" %p Having just read about rubys threads, i was moved to collect my thoughts on the topic. How this will influence implementation