{"id":9356,"date":"2014-08-23T20:31:23","date_gmt":"2014-08-24T00:31:23","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=9356"},"modified":"2016-03-08T09:29:15","modified_gmt":"2016-03-08T14:29:15","slug":"swift-name-mangling","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2014\/08\/23\/swift-name-mangling\/","title":{"rendered":"Swift Name Mangling"},"content":{"rendered":"<p><a href=\"https:\/\/www.mikeash.com\/pyblog\/friday-qa-2014-08-15-swift-name-mangling.html\">Gwynne Raskind<\/a>:<\/p>\r\n<blockquote cite=\"https:\/\/www.mikeash.com\/pyblog\/friday-qa-2014-08-15-swift-name-mangling.html\"><p>Swift&rsquo;s name mangling is somewhat different from C++&rsquo;s. Swift uses an encoding clearly based on the C++ scheme in principle, but containing considerably more information and expressing concepts only available in a more mature type system.<\/p>\r\n<p>[&#8230;]<\/p>\r\n<p>Swift will have generated over 100 more symbols, but this is the complex mangled name we&rsquo;ll tear apart: <code>__TFCCC4test1a1b1c1dfS2_FTS0_1xS1_1vFT1xSi_Si_OVS_1e1f<\/code><\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Gwynne Raskind: Swift&rsquo;s name mangling is somewhat different from C++&rsquo;s. Swift uses an encoding clearly based on the C++ scheme in principle, but containing considerably more information and expressing concepts only available in a more mature type system. [&#8230;] Swift will have generated over 100 more symbols, but this is the complex mangled name we&rsquo;ll [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[71,901],"class_list":["post-9356","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-programming","tag-swift-programming-language"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9356","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=9356"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9356\/revisions"}],"predecessor-version":[{"id":13772,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/9356\/revisions\/13772"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=9356"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=9356"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=9356"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}