{"action":"created","comment":{"url":"https://api.github.com/repos/oracle/truffleruby/pulls/comments/178463378","pull_request_review_id":108523569,"id":178463378,"diff_hunk":"@@ -34,6 +34,40 @@ TruffleRuby aims to:\n * Add fast and low-overhead interoperability with languages like JavaScript, Python and R\n * All while maintaining very high compatibility with the standard implementation of Ruby\n \n+## TruffleRuby Configurations\n+\n+It's important to understand the different configurations of TruffleRuby, as\n+each has different capabilities and performance characteristics. You should\n+pick the execution mode that is appropriate for your application.\n+\n+When distributed as part of GraalVM, TruffleRuby by default runs in the *native*\n+configuration. In this configuration, TruffleRuby is ahead-of-time compiled to a\n+standalone native machine code executable binary. This means that you don't need\n+a JVM installed on your system to use it. The advantage of the native\n+configuration is that it starts about as fast as MRI, it may use less memory,\n+and it becomes fast in less time. The disadvantage of the native configuration\n+is that you can't use Java tools like VisualVM, you can't use Java\n+interopability, and *peak performance may be lower than other configurations*.\n+The native configuration is used by default, but you can also request it using\n+`--native`.\n+\n+TruffleRuby can also be used in the *JVM* configuration, where it runs as a\n+normal Java application on the JVM, as any other Java application would. The\n+advantage of the JVM configuration is that you can use Java interopability, and\n+*peak performance may be higher than other configurations*. The disadvantage of","path":"README.md","position":24,"original_position":24,"commit_id":"f4ad11d962946fce181e2f121e28be2a3649ef4b","original_commit_id":"f4ad11d962946fce181e2f121e28be2a3649ef4b","user":{"login":"chrisseaton","id":341094,"avatar_url":"https://avatars2.githubusercontent.com/u/341094?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisseaton","html_url":"https://github.com/chrisseaton","followers_url":"https://api.github.com/users/chrisseaton/followers","following_url":"https://api.github.com/users/chrisseaton/following{/other_user}","gists_url":"https://api.github.com/users/chrisseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseaton/subscriptions","organizations_url":"https://api.github.com/users/chrisseaton/orgs","repos_url":"https://api.github.com/users/chrisseaton/repos","events_url":"https://api.github.com/users/chrisseaton/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseaton/received_events","type":"User","site_admin":false},"body":"Fixing.","created_at":"2018-04-01T16:48:28Z","updated_at":"2018-04-01T16:48:28Z","html_url":"https://github.com/oracle/truffleruby/pull/1269#discussion_r178463378","pull_request_url":"https://api.github.com/repos/oracle/truffleruby/pulls/1269","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/oracle/truffleruby/pulls/comments/178463378"},"html":{"href":"https://github.com/oracle/truffleruby/pull/1269#discussion_r178463378"},"pull_request":{"href":"https://api.github.com/repos/oracle/truffleruby/pulls/1269"}},"in_reply_to_id":178458541},"pull_request":{"url":"https://api.github.com/repos/oracle/truffleruby/pulls/1269","id":178685573,"html_url":"https://github.com/oracle/truffleruby/pull/1269","diff_url":"https://github.com/oracle/truffleruby/pull/1269.diff","patch_url":"https://github.com/oracle/truffleruby/pull/1269.patch","issue_url":"https://api.github.com/repos/oracle/truffleruby/issues/1269","number":1269,"state":"open","locked":false,"title":"Update documentation for native-by-default","user":{"login":"chrisseaton","id":341094,"avatar_url":"https://avatars2.githubusercontent.com/u/341094?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisseaton","html_url":"https://github.com/chrisseaton","followers_url":"https://api.github.com/users/chrisseaton/followers","following_url":"https://api.github.com/users/chrisseaton/following{/other_user}","gists_url":"https://api.github.com/users/chrisseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseaton/subscriptions","organizations_url":"https://api.github.com/users/chrisseaton/orgs","repos_url":"https://api.github.com/users/chrisseaton/repos","events_url":"https://api.github.com/users/chrisseaton/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseaton/received_events","type":"User","site_admin":false},"body":"I've added quite a long section on the different configurations to the readme, but I think this is an area for potential confusion and missed opportunity, so I think it's good to describe it all in the readme where people will find it.","created_at":"2018-03-31T14:50:40Z","updated_at":"2018-04-01T16:48:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43250e31083d0a233254548dfadeeb1e0bac2a56","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oracle/truffleruby/pulls/1269/commits","review_comments_url":"https://api.github.com/repos/oracle/truffleruby/pulls/1269/comments","review_comment_url":"https://api.github.com/repos/oracle/truffleruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oracle/truffleruby/issues/1269/comments","statuses_url":"https://api.github.com/repos/oracle/truffleruby/statuses/f4ad11d962946fce181e2f121e28be2a3649ef4b","head":{"label":"oracle:native-default","ref":"native-default","sha":"f4ad11d962946fce181e2f121e28be2a3649ef4b","user":{"login":"oracle","id":4430336,"avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"repo":{"id":51164398,"name":"truffleruby","full_name":"oracle/truffleruby","owner":{"login":"oracle","id":4430336,"avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oracle/truffleruby","description":"A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs.","fork":false,"url":"https://api.github.com/repos/oracle/truffleruby","forks_url":"https://api.github.com/repos/oracle/truffleruby/forks","keys_url":"https://api.github.com/repos/oracle/truffleruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oracle/truffleruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oracle/truffleruby/teams","hooks_url":"https://api.github.com/repos/oracle/truffleruby/hooks","issue_events_url":"https://api.github.com/repos/oracle/truffleruby/issues/events{/number}","events_url":"https://api.github.com/repos/oracle/truffleruby/events","assignees_url":"https://api.github.com/repos/oracle/truffleruby/assignees{/user}","branches_url":"https://api.github.com/repos/oracle/truffleruby/branches{/branch}","tags_url":"https://api.github.com/repos/oracle/truffleruby/tags","blobs_url":"https://api.github.com/repos/oracle/truffleruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oracle/truffleruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oracle/truffleruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/oracle/truffleruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oracle/truffleruby/statuses/{sha}","languages_url":"https://api.github.com/repos/oracle/truffleruby/languages","stargazers_url":"https://api.github.com/repos/oracle/truffleruby/stargazers","contributors_url":"https://api.github.com/repos/oracle/truffleruby/contributors","subscribers_url":"https://api.github.com/repos/oracle/truffleruby/subscribers","subscription_url":"https://api.github.com/repos/oracle/truffleruby/subscription","commits_url":"https://api.github.com/repos/oracle/truffleruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/oracle/truffleruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/oracle/truffleruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/oracle/truffleruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/oracle/truffleruby/contents/{+path}","compare_url":"https://api.github.com/repos/oracle/truffleruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oracle/truffleruby/merges","archive_url":"https://api.github.com/repos/oracle/truffleruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oracle/truffleruby/downloads","issues_url":"https://api.github.com/repos/oracle/truffleruby/issues{/number}","pulls_url":"https://api.github.com/repos/oracle/truffleruby/pulls{/number}","milestones_url":"https://api.github.com/repos/oracle/truffleruby/milestones{/number}","notifications_url":"https://api.github.com/repos/oracle/truffleruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oracle/truffleruby/labels{/name}","releases_url":"https://api.github.com/repos/oracle/truffleruby/releases{/id}","deployments_url":"https://api.github.com/repos/oracle/truffleruby/deployments","created_at":"2016-02-05T18:03:11Z","updated_at":"2018-04-01T16:41:18Z","pushed_at":"2018-04-01T16:41:18Z","git_url":"git://github.com/oracle/truffleruby.git","ssh_url":"git@github.com:oracle/truffleruby.git","clone_url":"https://github.com/oracle/truffleruby.git","svn_url":"https://github.com/oracle/truffleruby","homepage":"","size":227283,"stargazers_count":1152,"watchers_count":1152,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":43,"open_issues":33,"watchers":1152,"default_branch":"master"}},"base":{"label":"oracle:master","ref":"master","sha":"58fceb6ed5e7c90af90931abef728048a48b99be","user":{"login":"oracle","id":4430336,"avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"repo":{"id":51164398,"name":"truffleruby","full_name":"oracle/truffleruby","owner":{"login":"oracle","id":4430336,"avatar_url":"https://avatars1.githubusercontent.com/u/4430336?v=4","gravatar_id":"","url":"https://api.github.com/users/oracle","html_url":"https://github.com/oracle","followers_url":"https://api.github.com/users/oracle/followers","following_url":"https://api.github.com/users/oracle/following{/other_user}","gists_url":"https://api.github.com/users/oracle/gists{/gist_id}","starred_url":"https://api.github.com/users/oracle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oracle/subscriptions","organizations_url":"https://api.github.com/users/oracle/orgs","repos_url":"https://api.github.com/users/oracle/repos","events_url":"https://api.github.com/users/oracle/events{/privacy}","received_events_url":"https://api.github.com/users/oracle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oracle/truffleruby","description":"A high performance implementation of the Ruby programming language. Built on the GraalVM by Oracle Labs.","fork":false,"url":"https://api.github.com/repos/oracle/truffleruby","forks_url":"https://api.github.com/repos/oracle/truffleruby/forks","keys_url":"https://api.github.com/repos/oracle/truffleruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oracle/truffleruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oracle/truffleruby/teams","hooks_url":"https://api.github.com/repos/oracle/truffleruby/hooks","issue_events_url":"https://api.github.com/repos/oracle/truffleruby/issues/events{/number}","events_url":"https://api.github.com/repos/oracle/truffleruby/events","assignees_url":"https://api.github.com/repos/oracle/truffleruby/assignees{/user}","branches_url":"https://api.github.com/repos/oracle/truffleruby/branches{/branch}","tags_url":"https://api.github.com/repos/oracle/truffleruby/tags","blobs_url":"https://api.github.com/repos/oracle/truffleruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oracle/truffleruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oracle/truffleruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/oracle/truffleruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oracle/truffleruby/statuses/{sha}","languages_url":"https://api.github.com/repos/oracle/truffleruby/languages","stargazers_url":"https://api.github.com/repos/oracle/truffleruby/stargazers","contributors_url":"https://api.github.com/repos/oracle/truffleruby/contributors","subscribers_url":"https://api.github.com/repos/oracle/truffleruby/subscribers","subscription_url":"https://api.github.com/repos/oracle/truffleruby/subscription","commits_url":"https://api.github.com/repos/oracle/truffleruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/oracle/truffleruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/oracle/truffleruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/oracle/truffleruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/oracle/truffleruby/contents/{+path}","compare_url":"https://api.github.com/repos/oracle/truffleruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oracle/truffleruby/merges","archive_url":"https://api.github.com/repos/oracle/truffleruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oracle/truffleruby/downloads","issues_url":"https://api.github.com/repos/oracle/truffleruby/issues{/number}","pulls_url":"https://api.github.com/repos/oracle/truffleruby/pulls{/number}","milestones_url":"https://api.github.com/repos/oracle/truffleruby/milestones{/number}","notifications_url":"https://api.github.com/repos/oracle/truffleruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oracle/truffleruby/labels{/name}","releases_url":"https://api.github.com/repos/oracle/truffleruby/releases{/id}","deployments_url":"https://api.github.com/repos/oracle/truffleruby/deployments","created_at":"2016-02-05T18:03:11Z","updated_at":"2018-04-01T16:41:18Z","pushed_at":"2018-04-01T16:41:18Z","git_url":"git://github.com/oracle/truffleruby.git","ssh_url":"git@github.com:oracle/truffleruby.git","clone_url":"https://github.com/oracle/truffleruby.git","svn_url":"https://github.com/oracle/truffleruby","homepage":"","size":227283,"stargazers_count":1152,"watchers_count":1152,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":33,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":43,"open_issues":33,"watchers":1152,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oracle/truffleruby/pulls/1269"},"html":{"href":"https://github.com/oracle/truffleruby/pull/1269"},"issue":{"href":"https://api.github.com/repos/oracle/truffleruby/issues/1269"},"comments":{"href":"https://api.github.com/repos/oracle/truffleruby/issues/1269/comments"},"review_comments":{"href":"https://api.github.com/repos/oracle/truffleruby/pulls/1269/comments"},"review_comment":{"href":"https://api.github.com/repos/oracle/truffleruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oracle/truffleruby/pulls/1269/commits"},"statuses":{"href":"https://api.github.com/repos/oracle/truffleruby/statuses/f4ad11d962946fce181e2f121e28be2a3649ef4b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"chrisseaton"}}