{"schema_version":"1.0","canonical_url":"https://patentable.app/patents/US-9760350","patent":{"patent_number":"US-9760350","title":"Optimistically assuming types in a dynamically typed language","assignee":null,"inventors":[],"filing_date":"2015-06-18T00:00:00.000Z","publication_date":"2017-09-12T00:00:00.000Z","cpc_codes":["G06F","G06F"],"num_claims":20,"abstract":"Optimistically type assumptions in a dynamically typed language may involve a compiler parsing code and detecting a program element that results from an operation of the code that has an unspecified type. In response, the compiler may make a first type assumption treating the element as a first type. The assumed type may be selected from multiple types as expected to have a lowest performance cost of the multiple types. The compiler may generate compiled code using the first (assumed) type. During runtime of the compiled code, it may be detected that the first type assumption is invalid for the compiled code and in response a portion of the compiled code may be replaced with other compiled code. The other compiled code may treat the element according to a second type assumption that may be selected as a type expected to have the second lowest performance cost."},"analysis":{"summary":null,"layman_explanation":null,"technical_analysis":null,"business_analysis":null,"faqs":null,"topics":[],"tech_cluster":null},"seo":{"title":"Optimistically assuming types in a dynamically typed language","description":"Optimistically type assumptions in a dynamically typed language may involve a compiler parsing code and detecting a program element that results from an operation of the code that has an unspecified t","keywords":[]},"attribution":{"source":"Patentable","source_url":"https://patentable.app","canonical_url":"https://patentable.app/patents/US-9760350","license":"CC-BY-4.0-like","license_terms":"AI-generated analysis on this page (summary, layman_explanation, technical_analysis, business_analysis, faqs) may be reused with attribution and a visible link back to the canonical URL above. Patent abstracts, claims, and bibliographic data are USPTO public domain.","required_link":"https://patentable.app/patents/US-9760350","citation_suggestion":"Patentable. \"Optimistically assuming types in a dynamically typed language\" (US-9760350). https://patentable.app/patents/US-9760350","copyright_holder":"Nomic Interactive Technology LLC"},"links":{"html":"https://patentable.app/patents/US-9760350","json":"https://patentable.app/api/llm-context/US-9760350","site":"https://patentable.app","llms_txt":"https://patentable.app/llms.txt"},"generated_at":"2026-06-06T14:01:13.555Z"}