{"action":"created","comment":{"url":"https://api.github.com/repos/sondrele/thesis/pulls/comments/31423794","id":31423794,"diff_hunk":"@@ -0,0 +1,35 @@\n+% !TEX root = ../main.tex\n+\n+\\section{Rust for ARM} % (fold)\n+\\label{sec:rust_for_arm}\n+\n+Before we started on this thesis we were already aware that there were a couple of other projects that was running {\\rust} bare-metal on ARM \\glspl{mcu}.\n+We did, however, not know how easy it would be to get up and running with {\\rust} on the EFM32.\n+It took us less than one day to implement and execute a {\\rust} blink-demo on the {\\STK}.\n+The {\\rust} documentation was sufficient for figuring out how to define non-std {\\rust} programs (i.e. the ones that are annotated with \\texttt{\\#[no\\_std]}), and projects like \\texttt{armboot} helped us to build the project for the ARM architecture.\n+{\\rust}'s runtime is comparable with the one that is available in {\\C}, the startup-routine in the two languages are the same, but the {\\core} library is larger and provides more functionality than the {\\C} standard library, which we consider to be an added bonus of {\\rust}.\n+\n+{\\rust} has a rich standard library which offers a strong foundation for all the programs that want to depend on it.\n+As we described in \\autoref{ssub:rust:features}, the {\\std} crate acts like an abstraction over all the different libraries in \\gls{rsl} and the rustc compiler is itself dependent on a couple of \\emph{marker-traits} to be present in this module.\n+It is easy enough to define programs that are not dependent on this {\\std} library, and instead only dependent on {\\core}, but we think the distinction between {\\std} and {\\core} is too big.","path":"discussion/rust-for-arm.tex","position":14,"original_position":14,"commit_id":"0ee80766cb906b5ec1df5102ec79f3100cedc29d","original_commit_id":"0ee80766cb906b5ec1df5102ec79f3100cedc29d","user":{"login":"havardh","id":451855,"avatar_url":"https://avatars.githubusercontent.com/u/451855?v=3","gravatar_id":"","url":"https://api.github.com/users/havardh","html_url":"https://github.com/havardh","followers_url":"https://api.github.com/users/havardh/followers","following_url":"https://api.github.com/users/havardh/following{/other_user}","gists_url":"https://api.github.com/users/havardh/gists{/gist_id}","starred_url":"https://api.github.com/users/havardh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/havardh/subscriptions","organizations_url":"https://api.github.com/users/havardh/orgs","repos_url":"https://api.github.com/users/havardh/repos","events_url":"https://api.github.com/users/havardh/events{/privacy}","received_events_url":"https://api.github.com/users/havardh/received_events","type":"User","site_admin":false},"body":"Hva betyr `distinction between`  ?","created_at":"2015-06-01T13:17:54Z","updated_at":"2015-06-01T13:17:54Z","html_url":"https://github.com/sondrele/thesis/pull/60#discussion_r31423794","pull_request_url":"https://api.github.com/repos/sondrele/thesis/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/sondrele/thesis/pulls/comments/31423794"},"html":{"href":"https://github.com/sondrele/thesis/pull/60#discussion_r31423794"},"pull_request":{"href":"https://api.github.com/repos/sondrele/thesis/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/sondrele/thesis/pulls/60","id":36627130,"html_url":"https://github.com/sondrele/thesis/pull/60","diff_url":"https://github.com/sondrele/thesis/pull/60.diff","patch_url":"https://github.com/sondrele/thesis/pull/60.patch","issue_url":"https://api.github.com/repos/sondrele/thesis/issues/60","number":60,"state":"open","locked":false,"title":"Discussion Started wiritng about Rust for non-standard projects","user":{"login":"sondrele","id":1423083,"avatar_url":"https://avatars.githubusercontent.com/u/1423083?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrele","html_url":"https://github.com/sondrele","followers_url":"https://api.github.com/users/sondrele/followers","following_url":"https://api.github.com/users/sondrele/following{/other_user}","gists_url":"https://api.github.com/users/sondrele/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrele/subscriptions","organizations_url":"https://api.github.com/users/sondrele/orgs","repos_url":"https://api.github.com/users/sondrele/repos","events_url":"https://api.github.com/users/sondrele/events{/privacy}","received_events_url":"https://api.github.com/users/sondrele/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-06-01T13:13:25Z","updated_at":"2015-06-01T13:17:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c49ac1a83d439032ab3b28b5b27c2489aa755957","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sondrele/thesis/pulls/60/commits","review_comments_url":"https://api.github.com/repos/sondrele/thesis/pulls/60/comments","review_comment_url":"https://api.github.com/repos/sondrele/thesis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sondrele/thesis/issues/60/comments","statuses_url":"https://api.github.com/repos/sondrele/thesis/statuses/0ee80766cb906b5ec1df5102ec79f3100cedc29d","head":{"label":"sondrele:discussion","ref":"discussion","sha":"0ee80766cb906b5ec1df5102ec79f3100cedc29d","user":{"login":"sondrele","id":1423083,"avatar_url":"https://avatars.githubusercontent.com/u/1423083?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrele","html_url":"https://github.com/sondrele","followers_url":"https://api.github.com/users/sondrele/followers","following_url":"https://api.github.com/users/sondrele/following{/other_user}","gists_url":"https://api.github.com/users/sondrele/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrele/subscriptions","organizations_url":"https://api.github.com/users/sondrele/orgs","repos_url":"https://api.github.com/users/sondrele/repos","events_url":"https://api.github.com/users/sondrele/events{/privacy}","received_events_url":"https://api.github.com/users/sondrele/received_events","type":"User","site_admin":false},"repo":{"id":29209107,"name":"thesis","full_name":"sondrele/thesis","owner":{"login":"sondrele","id":1423083,"avatar_url":"https://avatars.githubusercontent.com/u/1423083?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrele","html_url":"https://github.com/sondrele","followers_url":"https://api.github.com/users/sondrele/followers","following_url":"https://api.github.com/users/sondrele/following{/other_user}","gists_url":"https://api.github.com/users/sondrele/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrele/subscriptions","organizations_url":"https://api.github.com/users/sondrele/orgs","repos_url":"https://api.github.com/users/sondrele/repos","events_url":"https://api.github.com/users/sondrele/events{/privacy}","received_events_url":"https://api.github.com/users/sondrele/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sondrele/thesis","description":"","fork":false,"url":"https://api.github.com/repos/sondrele/thesis","forks_url":"https://api.github.com/repos/sondrele/thesis/forks","keys_url":"https://api.github.com/repos/sondrele/thesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sondrele/thesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sondrele/thesis/teams","hooks_url":"https://api.github.com/repos/sondrele/thesis/hooks","issue_events_url":"https://api.github.com/repos/sondrele/thesis/issues/events{/number}","events_url":"https://api.github.com/repos/sondrele/thesis/events","assignees_url":"https://api.github.com/repos/sondrele/thesis/assignees{/user}","branches_url":"https://api.github.com/repos/sondrele/thesis/branches{/branch}","tags_url":"https://api.github.com/repos/sondrele/thesis/tags","blobs_url":"https://api.github.com/repos/sondrele/thesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sondrele/thesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sondrele/thesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/sondrele/thesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sondrele/thesis/statuses/{sha}","languages_url":"https://api.github.com/repos/sondrele/thesis/languages","stargazers_url":"https://api.github.com/repos/sondrele/thesis/stargazers","contributors_url":"https://api.github.com/repos/sondrele/thesis/contributors","subscribers_url":"https://api.github.com/repos/sondrele/thesis/subscribers","subscription_url":"https://api.github.com/repos/sondrele/thesis/subscription","commits_url":"https://api.github.com/repos/sondrele/thesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/sondrele/thesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/sondrele/thesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/sondrele/thesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/sondrele/thesis/contents/{+path}","compare_url":"https://api.github.com/repos/sondrele/thesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sondrele/thesis/merges","archive_url":"https://api.github.com/repos/sondrele/thesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sondrele/thesis/downloads","issues_url":"https://api.github.com/repos/sondrele/thesis/issues{/number}","pulls_url":"https://api.github.com/repos/sondrele/thesis/pulls{/number}","milestones_url":"https://api.github.com/repos/sondrele/thesis/milestones{/number}","notifications_url":"https://api.github.com/repos/sondrele/thesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sondrele/thesis/labels{/name}","releases_url":"https://api.github.com/repos/sondrele/thesis/releases{/id}","created_at":"2015-01-13T20:20:06Z","updated_at":"2015-04-29T14:20:58Z","pushed_at":"2015-06-01T13:13:25Z","git_url":"git://github.com/sondrele/thesis.git","ssh_url":"git@github.com:sondrele/thesis.git","clone_url":"https://github.com/sondrele/thesis.git","svn_url":"https://github.com/sondrele/thesis","homepage":null,"size":3664,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"base":{"label":"sondrele:master","ref":"master","sha":"6fa30862a6636ff70b93269a2c4465bba78ffb6d","user":{"login":"sondrele","id":1423083,"avatar_url":"https://avatars.githubusercontent.com/u/1423083?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrele","html_url":"https://github.com/sondrele","followers_url":"https://api.github.com/users/sondrele/followers","following_url":"https://api.github.com/users/sondrele/following{/other_user}","gists_url":"https://api.github.com/users/sondrele/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrele/subscriptions","organizations_url":"https://api.github.com/users/sondrele/orgs","repos_url":"https://api.github.com/users/sondrele/repos","events_url":"https://api.github.com/users/sondrele/events{/privacy}","received_events_url":"https://api.github.com/users/sondrele/received_events","type":"User","site_admin":false},"repo":{"id":29209107,"name":"thesis","full_name":"sondrele/thesis","owner":{"login":"sondrele","id":1423083,"avatar_url":"https://avatars.githubusercontent.com/u/1423083?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrele","html_url":"https://github.com/sondrele","followers_url":"https://api.github.com/users/sondrele/followers","following_url":"https://api.github.com/users/sondrele/following{/other_user}","gists_url":"https://api.github.com/users/sondrele/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrele/subscriptions","organizations_url":"https://api.github.com/users/sondrele/orgs","repos_url":"https://api.github.com/users/sondrele/repos","events_url":"https://api.github.com/users/sondrele/events{/privacy}","received_events_url":"https://api.github.com/users/sondrele/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sondrele/thesis","description":"","fork":false,"url":"https://api.github.com/repos/sondrele/thesis","forks_url":"https://api.github.com/repos/sondrele/thesis/forks","keys_url":"https://api.github.com/repos/sondrele/thesis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sondrele/thesis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sondrele/thesis/teams","hooks_url":"https://api.github.com/repos/sondrele/thesis/hooks","issue_events_url":"https://api.github.com/repos/sondrele/thesis/issues/events{/number}","events_url":"https://api.github.com/repos/sondrele/thesis/events","assignees_url":"https://api.github.com/repos/sondrele/thesis/assignees{/user}","branches_url":"https://api.github.com/repos/sondrele/thesis/branches{/branch}","tags_url":"https://api.github.com/repos/sondrele/thesis/tags","blobs_url":"https://api.github.com/repos/sondrele/thesis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sondrele/thesis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sondrele/thesis/git/refs{/sha}","trees_url":"https://api.github.com/repos/sondrele/thesis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sondrele/thesis/statuses/{sha}","languages_url":"https://api.github.com/repos/sondrele/thesis/languages","stargazers_url":"https://api.github.com/repos/sondrele/thesis/stargazers","contributors_url":"https://api.github.com/repos/sondrele/thesis/contributors","subscribers_url":"https://api.github.com/repos/sondrele/thesis/subscribers","subscription_url":"https://api.github.com/repos/sondrele/thesis/subscription","commits_url":"https://api.github.com/repos/sondrele/thesis/commits{/sha}","git_commits_url":"https://api.github.com/repos/sondrele/thesis/git/commits{/sha}","comments_url":"https://api.github.com/repos/sondrele/thesis/comments{/number}","issue_comment_url":"https://api.github.com/repos/sondrele/thesis/issues/comments{/number}","contents_url":"https://api.github.com/repos/sondrele/thesis/contents/{+path}","compare_url":"https://api.github.com/repos/sondrele/thesis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sondrele/thesis/merges","archive_url":"https://api.github.com/repos/sondrele/thesis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sondrele/thesis/downloads","issues_url":"https://api.github.com/repos/sondrele/thesis/issues{/number}","pulls_url":"https://api.github.com/repos/sondrele/thesis/pulls{/number}","milestones_url":"https://api.github.com/repos/sondrele/thesis/milestones{/number}","notifications_url":"https://api.github.com/repos/sondrele/thesis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sondrele/thesis/labels{/name}","releases_url":"https://api.github.com/repos/sondrele/thesis/releases{/id}","created_at":"2015-01-13T20:20:06Z","updated_at":"2015-04-29T14:20:58Z","pushed_at":"2015-06-01T13:13:25Z","git_url":"git://github.com/sondrele/thesis.git","ssh_url":"git@github.com:sondrele/thesis.git","clone_url":"https://github.com/sondrele/thesis.git","svn_url":"https://github.com/sondrele/thesis","homepage":null,"size":3664,"stargazers_count":0,"watchers_count":0,"language":"TeX","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sondrele/thesis/pulls/60"},"html":{"href":"https://github.com/sondrele/thesis/pull/60"},"issue":{"href":"https://api.github.com/repos/sondrele/thesis/issues/60"},"comments":{"href":"https://api.github.com/repos/sondrele/thesis/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/sondrele/thesis/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/sondrele/thesis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sondrele/thesis/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/sondrele/thesis/statuses/0ee80766cb906b5ec1df5102ec79f3100cedc29d"}}}}